#20040C#20040C

#20040C is a very dark, muted pink. Relative luminance 0.004; OKLCH L 16.8% C 0.052 H 4.8°. Best body text is #FFFFFF at 19.37:1 contrast (WCAG AA passes).

Color values

HEX#20040C
RGBrgb(32, 4, 12)
HSLhsl(343, 78%, 7%)
HSVhsv(343, 88%, 13%)
CMYKcmyk(0%, 87.5%, 62.5%, 87.5%)
CIE-LABlab(3.80, 12.53, 0.94)
CIE-LCHlch(3.80, 12.56, 4.31°)
OKLaboklab(16.81% 0.0514 0.0044)
OKLCHoklch(16.81% 0.052 4.8)
XYZxyz(0.7055, 0.4205, 0.3918)
Luminance0.0042 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20040C #042018
analogous
#20041A #20040C #200A04
triadic
#20040C #0C2004 #040C20
tetradic
#20040C #1A2004 #042018 #0A0420
square
#20040C #1A2004 #042018 #0A0420
split-complementary
#20040C #04200A #041A20
monochromatic
#1B030A #1B030A #20040C #560B20 #8D1235

Accessibility & contrast

On white

19.37
#20040C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20040C
19.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20040C#FFFFFF#000000##FFFFFF
##20040C1.0019.371.0819.37
#FFFFFF19.371.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#090A0C
Deuteranopia (green-blind)
#11100B
Tritanopia (blue-blind)
#240207
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #20040c;
/* rgb */ color: rgb(32, 4, 12);
/* oklch */ color: oklch(16.8% 0.052 4.8);
Tailwind
colors: {
  custom: {
    50: '#5b484c',
    500: '#20040c',
    950: '#000000',
  },
}
SCSS
$custom: #20040c;
$custom-light: #5b484c;
$custom-dark: #000000;
JSON
{
  "hex": "#20040c",
  "rgb": {
    "r": 32,
    "g": 4,
    "b": 12
  },
  "hsl": {
    "h": 342.857,
    "s": 77.778,
    "l": 7.059
  },
  "oklch": {
    "l": 0.16809,
    "c": 0.05158,
    "h": 4.8
  },
  "luminance": 0.0042
}

Semantic roles & 50–950 ramp

primary
#20040C
secondary
#1D634F
accent
#F4BD34
background
#F5F4F4
surface
#E9E6E7
border
#C5C2C3
text
#040001
muted
#797777

Preview Lab

Preview with #20040C

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

Preview Lab → · Contrast checker → · Palette generator →

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