#DB0021

A color in the Red, Pink family

#db0021 is a color in the Red, Pink family: RGB(219, 0, 33), HSL(351°, 100%, 43%), CMYK(0%, 100%, 85%, 14%). Closest named color: crimson. Contrast is 5.21:1 on white and 4.03:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#db0021
RGBrgb(219 0 33)
RGB (legacy)rgb(219, 0, 33)
RGB %rgb(86% 0% 13%)
HSLhsl(351 100% 43%)
HSV / HSBhsv(351, 100%, 86%)
HWBhwb(351 0% 14%)
CMYKcmyk(0%, 100%, 85%, 14%)
CIELAB (D50)lab(46.78 72.31 49.67)
LCHlch(46.78 87.73 34.49)
OKLaboklab(0.5613 0.2057 0.0981)
OKLCHoklch(0.5613 0.2279 25.5)
Decimal14352417

Properties

Color ToneRed, Pink
Closest named colorcrimson ΔE 2.4
Closest web-safe color#cc0033
Hue351°
Saturation (HSL / HSV)100% / 100%
Lightness (HSL)43%
Brightness or Value (HSV)86%
Luminance (Rec.601 / Rec.709)27% / 19%
Relative luminance (WCAG)0.1517
Red / Green / Blue219 / 0 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.21:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.03: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.4 / 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: #db0021;
  --color-brand-oklch: oklch(56.13% 0.2279 25.5);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(219 0 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#db0021] text-[#db0021] border-[#db0021]">