#DF0C21

A color in the Red, Pink family

#df0c21 is a color in the Red, Pink family: RGB(223, 12, 33), HSL(354°, 90%, 46%), CMYK(0%, 95%, 85%, 13%). Closest named color: crimson. Contrast is 4.99:1 on white and 4.21:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#df0c21
RGBrgb(223 12 33)
RGB (legacy)rgb(223, 12, 33)
RGB %rgb(87% 5% 13%)
HSLhsl(354 90% 46%)
HSV / HSBhsv(354, 95%, 87%)
HWBhwb(354 5% 13%)
CMYKcmyk(0%, 95%, 85%, 13%)
CIELAB (D50)lab(47.97 72.34 51.01)
LCHlch(47.97 88.52 35.19)
OKLaboklab(0.5715 0.2051 0.1007)
OKLCHoklch(0.5715 0.2285 26.14)
Decimal14617633

Properties

Color ToneRed, Pink
Closest named colorcrimson ΔE 2.5
Closest web-safe color#cc0033
Hue354°
Saturation (HSL / HSV)90% / 95%
Lightness (HSL)46%
Brightness or Value (HSV)87%
Luminance (Rec.601 / Rec.709)30% / 23%
Relative luminance (WCAG)0.1606
Red / Green / Blue223 / 12 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.99:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.21: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 71.9 / -29.8 · As background with white / black text: Lc -77.3 / 32.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: #df0c21;
  --color-brand-oklch: oklch(57.15% 0.2285 26.14);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(223 12 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#df0c21] text-[#df0c21] border-[#df0c21]">