#CF021A

#cf021a ≈ Lava

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

#cf021a is a color from the red family, with medium lightness and vivid saturation. In the RGB model it is made of 81.18% red, 0.78% green and 10.2% blue; printed in CMYK it uses 0% cyan, 99.03% magenta, 87.44% yellow and 18.82% black. Its hue angle is 352.98°, with 98.09% saturation and 40.98% 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.71:1 (WCAG AA). The closest named color is Lava (#cf1020), ΔE 1.02.

Description generated from the measured properties of this color.

Conversions of #cf021a 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.1338

Readable text 5.71:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.68:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #666666 ≈ 0.003% of males
Achromatomaly #9b5052 ≈ 0.001% of males
Protanopia #564c17 ≈ 1.01% of males
Deuteranopia #837409 ≈ 1.27% of males
Tritanopia #e50013 ≈ 0.0001% of males
Protanomaly #963b18 ≈ 1.08% of males
Deuteranomaly #a75b11 ≈ 4.63% of males
Tritanomaly #dc0016 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Lava
#cf021a  rgb(207, 2, 26)  hsl(353, 98%, 41%)  Lava
#02cfb7  rgb(2, 207, 183)  hsl(173, 98%, 41%)  Turquoise
#1acf02  rgb(26, 207, 2)  hsl(113, 98%, 41%)  Lime Green
#021acf  rgb(2, 26, 207)  hsl(233, 98%, 41%)  Medium Blue