#21020B#21020B

#21020B is a very dark, muted pink. Relative luminance 0.004; OKLCH L 16.5% C 0.058 H 4.9°. Best body text is #FFFFFF at 19.48:1 contrast (WCAG AA passes).

Color values

HEX#21020B
RGBrgb(33, 2, 11)
HSLhsl(343, 89%, 7%)
HSVhsv(343, 94%, 13%)
CMYKcmyk(0%, 93.9%, 66.7%, 87.1%)
CIE-LABlab(3.53, 13.84, 1.02)
CIE-LCHlch(3.53, 13.87, 4.20°)
OKLaboklab(16.51% 0.058 0.0049)
OKLCHoklch(16.51% 0.058 4.9)
XYZxyz(0.7094, 0.3910, 0.3547)
Luminance0.0039 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21020B #022118
analogous
#21021B #21020B #210902
triadic
#21020B #0B2102 #020B21
tetradic
#21020B #1B2102 #022118 #090221
square
#21020B #1B2102 #022118 #090221
split-complementary
#21020B #022109 #021B21
monochromatic
#1D020A #1D020A #21020B #5B051E #940931

Accessibility & contrast

On white

19.48
#21020B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21020B
19.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21020B#FFFFFF#000000##FFFFFF
##21020B1.0019.481.0819.48
#FFFFFF19.481.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07080B
Deuteranopia (green-blind)
#100F0A
Tritanopia (blue-blind)
#250005
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #21020b;
/* rgb */ color: rgb(33, 2, 11);
/* oklch */ color: oklch(16.5% 0.058 4.9);
Tailwind
colors: {
  custom: {
    50: '#5c474c',
    500: '#21020b',
    950: '#000000',
  },
}
SCSS
$custom: #21020b;
$custom-light: #5c474c;
$custom-dark: #000000;
JSON
{
  "hex": "#21020b",
  "rgb": {
    "r": 33,
    "g": 2,
    "b": 11
  },
  "hsl": {
    "h": 342.581,
    "s": 88.571,
    "l": 6.863
  },
  "oklch": {
    "l": 0.16511,
    "c": 0.05818,
    "h": 4.9
  },
  "luminance": 0.00391
}

Semantic roles & 50–950 ramp

primary
#21020B
secondary
#186750
accent
#FFC129
background
#F5F4F4
surface
#E9E6E7
border
#C5C2C3
text
#040001
muted
#797777

Preview Lab

Preview with #21020B

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

Preview Lab → · Contrast checker → · Palette generator →

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