#20020C#20020C

#20020C is a very dark, muted pink. Relative luminance 0.004; OKLCH L 16.3% C 0.057 H 1.9°. Best body text is #FFFFFF at 19.53:1 contrast (WCAG AA passes).

Color values

HEX#20020C
RGBrgb(32, 2, 12)
HSLhsl(340, 88%, 7%)
HSVhsv(340, 94%, 13%)
CMYKcmyk(0%, 93.8%, 62.5%, 87.5%)
CIE-LABlab(3.41, 13.33, 0.37)
CIE-LCHlch(3.41, 13.33, 1.60°)
OKLaboklab(16.32% 0.0574 0.0019)
OKLCHoklch(16.32% 0.057 1.9)
XYZxyz(0.6838, 0.3771, 0.3845)
Luminance0.0038 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20020C #022016
analogous
#20021B #20020C #200702
triadic
#20020C #0C2002 #020C20
tetradic
#20020C #1B2002 #022016 #070220
square
#20020C #1B2002 #022016 #070220
split-complementary
#20020C #022007 #021B20
monochromatic
#1D020B #1D020B #20020C #5A0622 #930937

Accessibility & contrast

On white

19.53
#20020C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#20020C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20020C
19.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20020C#FFFFFF#000000##FFFFFF
##20020C1.0019.531.0819.53
#FFFFFF19.531.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07080C
Deuteranopia (green-blind)
#100F0B
Tritanopia (blue-blind)
#240005
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #20020c;
/* rgb */ color: rgb(32, 2, 12);
/* oklch */ color: oklch(16.3% 0.057 1.9);
Tailwind
colors: {
  custom: {
    50: '#5b474c',
    500: '#20020c',
    950: '#000000',
  },
}
SCSS
$custom: #20020c;
$custom-light: #5b474c;
$custom-dark: #000000;
JSON
{
  "hex": "#20020c",
  "rgb": {
    "r": 32,
    "g": 2,
    "b": 12
  },
  "hsl": {
    "h": 340,
    "s": 88.235,
    "l": 6.667
  },
  "oklch": {
    "l": 0.16317,
    "c": 0.05741,
    "h": 1.9
  },
  "luminance": 0.00377
}

Semantic roles & 50–950 ramp

primary
#20020C
secondary
#18664C
accent
#FEB729
background
#F5F4F4
surface
#E9E6E7
border
#C5C2C3
text
#040001
muted
#797777

Preview Lab

Preview with #20020C

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

Preview Lab → · Contrast checker → · Palette generator →

#20020C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva