#CC021E

#cc021e ≈ Lava

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

#cc021e is a color from the red family, with medium lightness and vivid saturation. In the RGB model it is made of 80% red, 0.78% green and 11.76% blue; printed in CMYK it uses 0% cyan, 99.02% magenta, 85.29% yellow and 20% black. Its hue angle is 351.68°, with 98.06% saturation and 40.39% 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.84:1 (WCAG AA). The closest named color is Lava (#cf1020), ΔE 1.08.

Description generated from the measured properties of this color.

Conversions of #cc021e 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.1297

Readable text 5.84:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.59:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #656565 ≈ 0.003% of males
Achromatomaly #994f51 ≈ 0.001% of males
Protanopia #554b1c ≈ 1.01% of males
Deuteranopia #817311 ≈ 1.27% of males
Tritanopia #e10014 ≈ 0.0001% of males
Protanomaly #943a1d ≈ 1.08% of males
Deuteranomaly #a45a17 ≈ 4.63% of males
Tritanomaly #d90019 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cc021e {
  color: #cc021e;
}
Background
.bg-cc021e {
  background-color: #cc021e;
  color: #ffffff;
}
Border
.border-cc021e {
  border: 2px solid #cc021e;
}
CSS variables
:root {
  --color-primary: #cc021e;
  --color-primary-rgb: 204 2 30;
  --color-primary-hsl: 352 98% 40%;
}
Gradient
.gradient-cc021e {
  background: linear-gradient(135deg, #cc021e, #cc4b02);
}
Colored shadow
.shadow-cc021e {
  box-shadow: 0 8px 24px rgb(204 2 30 / 0.35);
}

Lava
#cc021e  rgb(204, 2, 30)  hsl(352, 98%, 40%)  Lava
#02ccb0  rgb(2, 204, 176)  hsl(172, 98%, 40%)  Medium Aquamarine
#1ecc02  rgb(30, 204, 2)  hsl(112, 98%, 40%)  Lime Green
#021ecc  rgb(2, 30, 204)  hsl(232, 98%, 40%)  Medium Blue