#D42D21

A color in the Red, Pink family

#d42d21 is a color in the Red, Pink family: RGB(212, 45, 33), HSL(4°, 73%, 48%), CMYK(0%, 79%, 84%, 17%). Closest named color: crimson. Contrast is 5:1 on white and 4.2:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#d42d21
RGBrgb(212 45 33)
RGB (legacy)rgb(212, 45, 33)
RGB %rgb(83% 18% 13%)
HSLhsl(4 73% 48%)
HSV / HSBhsv(4, 84%, 83%)
HWBhwb(4 13% 17%)
CMYKcmyk(0%, 79%, 84%, 17%)
CIELAB (D50)lab(47.78 63.65 49.7)
LCHlch(47.78 80.75 37.98)
OKLaboklab(0.5669 0.178 0.0999)
OKLCHoklch(0.5669 0.2041 29.31)
Decimal13905185

Properties

Color ToneRed, Pink
Closest named colorcrimson ΔE 3.9
Closest web-safe color#cc3333
Hue4°
Saturation (HSL / HSV)73% / 84%
Lightness (HSL)48%
Brightness or Value (HSV)83%
Luminance (Rec.601 / Rec.709)37% / 31%
Relative luminance (WCAG)0.1598
Red / Green / Blue212 / 45 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.00:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.20:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 72.9 / -28.8 · As background with white / black text: Lc -78.3 / 31.2

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #d42d21;
  --color-brand-oklch: oklch(56.69% 0.2041 29.31);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(212 45 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#d42d21] text-[#d42d21] border-[#d42d21]">