#CD171C

#cd171c ≈ Lava

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

#cd171c is a color from the red family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 9.02% green and 10.98% blue; printed in CMYK it uses 0% cyan, 88.78% magenta, 86.34% yellow and 19.61% black. Its hue angle is 358.35°, with 79.82% saturation and 44.71% 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.62:1 (WCAG AA). The closest named color is Lava (#cf1020), ΔE 1.24.

Description generated from the measured properties of this color.

Conversions of #cd171c 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.1368

Readable text 5.62:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.74:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #676767 ≈ 0.003% of males
Achromatomaly #9b5353 ≈ 0.001% of males
Protanopia #594f19 ≈ 1.01% of males
Deuteranopia #84750e ≈ 1.27% of males
Tritanopia #e2001d ≈ 0.0001% of males
Protanomaly #963f1a ≈ 1.08% of males
Deuteranomaly #a65d15 ≈ 4.63% of males
Tritanomaly #da001d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cd171c {
  color: #cd171c;
}
Background
.bg-cd171c {
  background-color: #cd171c;
  color: #ffffff;
}
Border
.border-cd171c {
  border: 2px solid #cd171c;
}
CSS variables
:root {
  --color-primary: #cd171c;
  --color-primary-rgb: 205 23 28;
  --color-primary-hsl: 358 80% 45%;
}
Gradient
.gradient-cd171c {
  background: linear-gradient(135deg, #cd171c, #cd6d17);
}
Colored shadow
.shadow-cd171c {
  box-shadow: 0 8px 24px rgb(205 23 28 / 0.35);
}

Lava
#cd171c  rgb(205, 23, 28)  hsl(358, 80%, 45%)  Lava
#17cdc8  rgb(23, 205, 200)  hsl(178, 80%, 45%)  Robin Egg Blue
#1ccd17  rgb(28, 205, 23)  hsl(118, 80%, 45%)  Lime Green
#171ccd  rgb(23, 28, 205)  hsl(238, 80%, 45%)  Medium Blue