#D51F21

A color in the Red, Pink family

#d51f21 is a color in the Red, Pink family: RGB(213, 31, 33), HSL(359°, 75%, 48%), CMYK(0%, 85%, 85%, 16%). Closest named color: crimson. Contrast is 5.19:1 on white and 4.05:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#d51f21
RGBrgb(213 31 33)
RGB (legacy)rgb(213, 31, 33)
RGB %rgb(84% 12% 13%)
HSLhsl(359 75% 48%)
HSV / HSBhsv(359, 85%, 84%)
HWBhwb(359 12% 16%)
CMYKcmyk(0%, 85%, 85%, 16%)
CIELAB (D50)lab(46.82 67.14 49.05)
LCHlch(46.82 83.15 36.15)
OKLaboklab(0.5599 0.1894 0.098)
OKLCHoklch(0.5599 0.2132 27.35)
Decimal13967137

Properties

Color ToneRed, Pink
Closest named colorcrimson ΔE 3.1
Closest web-safe color#cc3333
Hue359°
Saturation (HSL / HSV)75% / 85%
Lightness (HSL)48%
Brightness or Value (HSV)84%
Luminance (Rec.601 / Rec.709)34% / 27%
Relative luminance (WCAG)0.1524
Red / Green / Blue213 / 31 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.19:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.05: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 73.7 / -28 · As background with white / black text: Lc -79.1 / 30.4

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: #d51f21;
  --color-brand-oklch: oklch(55.99% 0.2132 27.35);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(213 31 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#d51f21] text-[#d51f21] border-[#d51f21]">