#21020E#21020E

#21020E is a very dark, muted pink. Relative luminance 0.004; OKLCH L 16.6% C 0.059 H 359.0°. Best body text is #FFFFFF at 19.45:1 contrast (WCAG AA passes).

Color values

HEX#21020E
RGBrgb(33, 2, 14)
HSLhsl(337, 89%, 7%)
HSVhsv(337, 94%, 13%)
CMYKcmyk(0%, 93.9%, 57.6%, 87.1%)
CIE-LABlab(3.60, 14.31, -0.29)
CIE-LCHlch(3.60, 14.31, 358.86°)
OKLaboklab(16.63% 0.0593 -0.001)
OKLCHoklch(16.63% 0.059 359)
XYZxyz(0.7282, 0.3986, 0.4540)
Luminance0.0040 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21020E #022115
analogous
#21021E #21020E #210602
triadic
#21020E #0E2102 #020E21
tetradic
#21020E #1E2102 #022115 #060221
square
#21020E #1E2102 #022115 #060221
split-complementary
#21020E #022106 #021E21
monochromatic
#1D020C #1D020C #21020E #5B0526 #94093F

Accessibility & contrast

On white

19.45
#21020E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#21020E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21020E
19.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21020E#FFFFFF#000000##FFFFFF
##21020E1.0019.451.0819.45
#FFFFFF19.451.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07090E
Deuteranopia (green-blind)
#100F0D
Tritanopia (blue-blind)
#250006
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #21020e;
/* rgb */ color: rgb(33, 2, 14);
/* oklch */ color: oklch(16.6% 0.059 359.0);
Tailwind
colors: {
  custom: {
    50: '#5c474d',
    500: '#21020e',
    950: '#000000',
  },
}
SCSS
$custom: #21020e;
$custom-light: #5c474d;
$custom-dark: #000000;
JSON
{
  "hex": "#21020e",
  "rgb": {
    "r": 33,
    "g": 2,
    "b": 14
  },
  "hsl": {
    "h": 336.774,
    "s": 88.571,
    "l": 6.863
  },
  "oklch": {
    "l": 0.16635,
    "c": 0.05935,
    "h": 359
  },
  "luminance": 0.00398
}

Semantic roles & 50–950 ramp

primary
#21020E
secondary
#186748
accent
#FFAC29
background
#F5F4F4
surface
#E9E6E7
border
#C5C2C3
text
#040001
muted
#797777

Preview Lab

Preview with #21020E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#21020E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva