#CD271F

#cd271f ≈ Lava

  • red
  • Lightness: medium
  • Saturation: strong
  • Warm

#cd271f is a color from the red family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 15.29% green and 12.16% blue; printed in CMYK it uses 0% cyan, 80.98% magenta, 84.88% yellow and 19.61% black. Its hue angle is 2.76°, with 73.73% saturation and 46.27% 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 brand accents. White text on this color reaches a contrast ratio of 5.38:1 (WCAG AA). The closest named color is Lava (#cf1020), ΔE 2.45.

Description generated from the measured properties of this color.

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

Readable text 5.38:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.91:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6a6a6a ≈ 0.003% of males
Achromatomaly #9c5756 ≈ 0.001% of males
Protanopia #5e531b ≈ 1.01% of males
Deuteranopia #867714 ≈ 1.27% of males
Tritanopia #e20028 ≈ 0.0001% of males
Protanomaly #97461d ≈ 1.08% of males
Deuteranomaly #a76119 ≈ 4.63% of males
Tritanomaly #da0025 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cd271f {
  color: #cd271f;
}
Background
.bg-cd271f {
  background-color: #cd271f;
  color: #ffffff;
}
Border
.border-cd271f {
  border: 2px solid #cd271f;
}
CSS variables
:root {
  --color-primary: #cd271f;
  --color-primary-rgb: 205 39 31;
  --color-primary-hsl: 3 74% 46%;
}
Gradient
.gradient-cd271f {
  background: linear-gradient(135deg, #cd271f, #cd7e1f);
}
Colored shadow
.shadow-cd271f {
  box-shadow: 0 8px 24px rgb(205 39 31 / 0.35);
}

Lava
#cd271f  rgb(205, 39, 31)  hsl(3, 74%, 46%)  Lava
#1fc5cd  rgb(31, 197, 205)  hsl(183, 74%, 46%)  Dark Turquoise
#1fcd27  rgb(31, 205, 39)  hsl(123, 74%, 46%)  Lime Green
#271fcd  rgb(39, 31, 205)  hsl(243, 74%, 46%)  Medium Blue