#21020A#21020A

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

Color values

HEX#21020A
RGBrgb(33, 2, 10)
HSLhsl(345, 89%, 7%)
HSVhsv(345, 94%, 13%)
CMYKcmyk(0%, 93.9%, 69.7%, 87.1%)
CIE-LABlab(3.51, 13.69, 1.41)
CIE-LCHlch(3.51, 13.76, 5.86°)
OKLaboklab(16.47% 0.0575 0.0069)
OKLCHoklch(16.47% 0.058 6.8)
XYZxyz(0.7038, 0.3888, 0.3251)
Luminance0.0039 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21020A #022119
analogous
#21021A #21020A #210A02
triadic
#21020A #0A2102 #020A21
tetradic
#21020A #1A2102 #022119 #0A0221
square
#21020A #1A2102 #022119 #0A0221
split-complementary
#21020A #02210A #021A21
monochromatic
#1D0209 #1D0209 #21020A #5B051B #94092D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21020A#FFFFFF#000000##FFFFFF
##21020A1.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)
#08080A
Deuteranopia (green-blind)
#110F09
Tritanopia (blue-blind)
#250005
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #21020a;
/* rgb */ color: rgb(33, 2, 10);
/* oklch */ color: oklch(16.5% 0.058 6.8);
Tailwind
colors: {
  custom: {
    50: '#5c474b',
    500: '#21020a',
    950: '#000000',
  },
}
SCSS
$custom: #21020a;
$custom-light: #5c474b;
$custom-dark: #000000;
JSON
{
  "hex": "#21020a",
  "rgb": {
    "r": 33,
    "g": 2,
    "b": 10
  },
  "hsl": {
    "h": 344.516,
    "s": 88.571,
    "l": 6.863
  },
  "oklch": {
    "l": 0.16474,
    "c": 0.05789,
    "h": 6.8
  },
  "luminance": 0.00389
}

Semantic roles & 50–950 ramp

primary
#21020A
secondary
#186752
accent
#FFC829
background
#F5F4F4
surface
#E9E6E7
border
#C5C2C3
text
#040001
muted
#797777

Preview Lab

Preview with #21020A

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

Preview Lab → · Contrast checker → · Palette generator →

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