#DF1A2B

#df1a2b ≈ Cadmium Red

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

#df1a2b is a color from the red family, with medium lightness and vivid saturation. In the RGB model it is made of 87.45% red, 10.2% green and 16.86% blue; printed in CMYK it uses 0% cyan, 88.34% magenta, 80.72% yellow and 12.55% black. Its hue angle is 354.82°, with 79.12% saturation and 48.82% 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 4.86:1 (WCAG AA). The closest named color is Cadmium Red (#e30022), ΔE 1.58.

Description generated from the measured properties of this color.

Conversions of #df1a2b 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.166

Readable text 4.86:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.32:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #717171 ≈ 0.003% of males
Achromatomaly #a95b5d ≈ 0.001% of males
Protanopia #615729 ≈ 1.01% of males
Deuteranopia #8f8021 ≈ 1.27% of males
Tritanopia #f60024 ≈ 0.0001% of males
Protanomaly #a3462a ≈ 1.08% of males
Deuteranomaly #b56625 ≈ 4.63% of males
Tritanomaly #ed0027 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-df1a2b {
  color: #df1a2b;
}
Background
.bg-df1a2b {
  background-color: #df1a2b;
  color: #ffffff;
}
Border
.border-df1a2b {
  border: 2px solid #df1a2b;
}
CSS variables
:root {
  --color-primary: #df1a2b;
  --color-primary-rgb: 223 26 43;
  --color-primary-hsl: 355 79% 49%;
}
Gradient
.gradient-df1a2b {
  background: linear-gradient(135deg, #df1a2b, #df6b1a);
}
Colored shadow
.shadow-df1a2b {
  box-shadow: 0 8px 24px rgb(223 26 43 / 0.35);
}

Cadmium Red
#df1a2b  rgb(223, 26, 43)  hsl(355, 79%, 49%)  Cadmium Red
#1adfce  rgb(26, 223, 206)  hsl(175, 79%, 49%)  Turquoise
#2bdf1a  rgb(43, 223, 26)  hsl(115, 79%, 49%)  Lime Green
#1a2bdf  rgb(26, 43, 223)  hsl(235, 79%, 49%)  Blue