#21020F#21020F

#21020F is a very dark, muted pink. Relative luminance 0.004; OKLCH L 16.7% C 0.060 H 357.1°. Best body text is #FFFFFF at 19.44:1 contrast (WCAG AA passes).

Color values

HEX#21020F
RGBrgb(33, 2, 15)
HSLhsl(335, 89%, 7%)
HSVhsv(335, 94%, 13%)
CMYKcmyk(0%, 93.9%, 54.5%, 87.1%)
CIE-LABlab(3.62, 14.49, -0.77)
CIE-LCHlch(3.62, 14.51, 356.97°)
OKLaboklab(16.68% 0.0598 -0.003)
OKLCHoklch(16.68% 0.06 357.1)
XYZxyz(0.7352, 0.4013, 0.4906)
Luminance0.0040 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21020F #022114
analogous
#21021F #21020F #210502
triadic
#21020F #0F2102 #020F21
tetradic
#21020F #1F2102 #022114 #050221
square
#21020F #1F2102 #022114 #050221
split-complementary
#21020F #022105 #021F21
monochromatic
#1D020D #1D020D #21020F #5B0529 #940943

Accessibility & contrast

On white

19.44
#21020F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21020F
19.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21020F#FFFFFF#000000##FFFFFF
##21020F1.0019.441.0819.44
#FFFFFF19.441.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21020f;
/* rgb */ color: rgb(33, 2, 15);
/* oklch */ color: oklch(16.7% 0.060 357.1);
Tailwind
colors: {
  custom: {
    50: '#5c474e',
    500: '#21020f',
    950: '#000000',
  },
}
SCSS
$custom: #21020f;
$custom-light: #5c474e;
$custom-dark: #000000;
JSON
{
  "hex": "#21020f",
  "rgb": {
    "r": 33,
    "g": 2,
    "b": 15
  },
  "hsl": {
    "h": 334.839,
    "s": 88.571,
    "l": 6.863
  },
  "oklch": {
    "l": 0.1668,
    "c": 0.05984,
    "h": 357.1
  },
  "luminance": 0.00401
}

Semantic roles & 50–950 ramp

primary
#21020F
secondary
#186746
accent
#FFA529
background
#F5F4F4
surface
#E9E6E7
border
#C5C2C3
text
#040001
muted
#797777

Preview Lab

Preview with #21020F

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

Preview Lab → · Contrast checker → · Palette generator →

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