#20040E#20040E

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

Color values

HEX#20040E
RGBrgb(32, 4, 14)
HSLhsl(339, 78%, 7%)
HSVhsv(339, 88%, 13%)
CMYKcmyk(0%, 87.5%, 56.2%, 87.5%)
CIE-LABlab(3.85, 12.85, 0.05)
CIE-LCHlch(3.85, 12.85, 0.24°)
OKLaboklab(16.89% 0.0523 0.0004)
OKLCHoklch(16.89% 0.052 0.5)
XYZxyz(0.7184, 0.4257, 0.4597)
Luminance0.0043 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20040E #042016
analogous
#20041C #20040E #200804
triadic
#20040E #0E2004 #040E20
tetradic
#20040E #1C2004 #042016 #080420
square
#20040E #1C2004 #042016 #080420
split-complementary
#20040E #042008 #041C20
monochromatic
#1B030C #1B030C #20040E #560B26 #8D123E

Accessibility & contrast

On white

19.35
#20040E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#20040E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20040E
19.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20040E#FFFFFF#000000##FFFFFF
##20040E1.0019.351.0919.35
#FFFFFF19.351.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#080A0E
Deuteranopia (green-blind)
#10100D
Tritanopia (blue-blind)
#240207
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #20040e;
/* rgb */ color: rgb(32, 4, 14);
/* oklch */ color: oklch(16.9% 0.052 0.5);
Tailwind
colors: {
  custom: {
    50: '#5b484d',
    500: '#20040e',
    950: '#000000',
  },
}
SCSS
$custom: #20040e;
$custom-light: #5b484d;
$custom-dark: #000000;
JSON
{
  "hex": "#20040e",
  "rgb": {
    "r": 32,
    "g": 4,
    "b": 14
  },
  "hsl": {
    "h": 338.571,
    "s": 77.778,
    "l": 7.059
  },
  "oklch": {
    "l": 0.1689,
    "c": 0.05234,
    "h": 0.5
  },
  "luminance": 0.00426
}

Semantic roles & 50–950 ramp

primary
#20040E
secondary
#1D634A
accent
#F4AF34
background
#F5F4F4
surface
#E9E6E7
border
#C5C2C3
text
#040001
muted
#797777

Preview Lab

Preview with #20040E

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

Preview Lab → · Contrast checker → · Palette generator →

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