#D4172A

#d4172a ≈ Fire Engine Red

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

#d4172a is a color from the red family, with medium lightness and strong saturation. In the RGB model it is made of 83.14% red, 9.02% green and 16.47% blue; printed in CMYK it uses 0% cyan, 89.15% magenta, 80.19% yellow and 16.86% black. Its hue angle is 353.97°, with 80.43% saturation and 46.08% 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.31:1 (WCAG AA). The closest named color is Fire Engine Red (#ce2029), ΔE 1.15.

Description generated from the measured properties of this color.

Conversions of #d4172a 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.1478

Readable text 5.31:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.96:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6b6b6b ≈ 0.003% of males
Achromatomaly #a05658 ≈ 0.001% of males
Protanopia #5b5228 ≈ 1.01% of males
Deuteranopia #877921 ≈ 1.27% of males
Tritanopia #ea0022 ≈ 0.0001% of males
Protanomaly #9b4229 ≈ 1.08% of males
Deuteranomaly #ab6025 ≈ 4.63% of males
Tritanomaly #e10025 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d4172a {
  color: #d4172a;
}
Background
.bg-d4172a {
  background-color: #d4172a;
  color: #ffffff;
}
Border
.border-d4172a {
  border: 2px solid #d4172a;
}
CSS variables
:root {
  --color-primary: #d4172a;
  --color-primary-rgb: 212 23 42;
  --color-primary-hsl: 354 80% 46%;
}
Gradient
.gradient-d4172a {
  background: linear-gradient(135deg, #d4172a, #d46317);
}
Colored shadow
.shadow-d4172a {
  box-shadow: 0 8px 24px rgb(212 23 42 / 0.35);
}

Fire Engine Red
#d4172a  rgb(212, 23, 42)  hsl(354, 80%, 46%)  Fire Engine Red
#17d4c1  rgb(23, 212, 193)  hsl(174, 80%, 46%)  Turquoise
#2ad417  rgb(42, 212, 23)  hsl(114, 80%, 46%)  Lime Green
#172ad4  rgb(23, 42, 212)  hsl(234, 80%, 46%)  Persian Blue