#CD021A

#cd021a ≈ Lava

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

#cd021a 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.2% blue; printed in CMYK it uses 0% cyan, 99.02% magenta, 87.32% yellow and 19.61% black. Its hue angle is 352.91°, 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.15.

Description generated from the measured properties of this color.

Conversions of #cd021a 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 #554c17 ≈ 1.01% of males
Deuteranopia #827309 ≈ 1.27% of males
Tritanopia #e30013 ≈ 0.0001% of males
Protanomaly #953b18 ≈ 1.08% of males
Deuteranomaly #a55a11 ≈ 4.63% of males
Tritanomaly #da0016 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Lava
#cd021a  rgb(205, 2, 26)  hsl(353, 98%, 41%)  Lava
#02cdb5  rgb(2, 205, 181)  hsl(173, 98%, 41%)  Turquoise
#1acd02  rgb(26, 205, 2)  hsl(113, 98%, 41%)  Lime Green
#021acd  rgb(2, 26, 205)  hsl(233, 98%, 41%)  Medium Blue