#CD021B

#cd021b ≈ Lava

  • red
  • Lightness: medium
  • Saturation: vivid
  • Warm

#cd021b is a color from the red family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 0.78% green and 10.59% blue; printed in CMYK it uses 0% cyan, 99.02% magenta, 86.83% yellow and 19.61% black. Its hue angle is 352.61°, with 98.07% saturation and 40.59% lightness in HSL. It is a warm color, often associated with energy, passion and urgency. Designers typically use it for food and restaurant brands, sales and promotions and call-to-action buttons. White text on this color reaches a contrast ratio of 5.8:1 (WCAG AA). The closest named color is Lava (#cf1020), ΔE 1.03.

Description generated from the measured properties of this color.

Conversions of #cd021b into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cc0033
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.131

Readable text 5.8:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.62:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #656565 ≈ 0.003% of males
Achromatomaly #9a4f51 ≈ 0.001% of males
Protanopia #554c18 ≈ 1.01% of males
Deuteranopia #82730b ≈ 1.27% of males
Tritanopia #e30013 ≈ 0.0001% of males
Protanomaly #953b19 ≈ 1.08% of males
Deuteranomaly #a55a13 ≈ 4.63% of males
Tritanomaly #da0017 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cd021b {
  color: #cd021b;
}
Background
.bg-cd021b {
  background-color: #cd021b;
  color: #ffffff;
}
Border
.border-cd021b {
  border: 2px solid #cd021b;
}
CSS variables
:root {
  --color-primary: #cd021b;
  --color-primary-rgb: 205 2 27;
  --color-primary-hsl: 353 98% 41%;
}
Gradient
.gradient-cd021b {
  background: linear-gradient(135deg, #cd021b, #cd4e02);
}
Colored shadow
.shadow-cd021b {
  box-shadow: 0 8px 24px rgb(205 2 27 / 0.35);
}

Lava
#cd021b  rgb(205, 2, 27)  hsl(353, 98%, 41%)  Lava
#02cdb4  rgb(2, 205, 180)  hsl(173, 98%, 41%)  Turquoise
#1bcd02  rgb(27, 205, 2)  hsl(113, 98%, 41%)  Lime Green
#021bcd  rgb(2, 27, 205)  hsl(233, 98%, 41%)  Medium Blue