#20041A#20041A

#20041A is a very dark, moderate pink. Relative luminance 0.005; OKLCH L 17.5% C 0.061 H 337.1°. Best body text is #FFFFFF at 19.20:1 contrast (WCAG AA passes).

Color values

HEX#20041A
RGBrgb(32, 4, 26)
HSLhsl(313, 78%, 7%)
HSVhsv(313, 88%, 13%)
CMYKcmyk(0%, 87.5%, 18.8%, 87.5%)
CIE-LABlab(4.23, 15.57, -7.33)
CIE-LCHlch(4.23, 17.21, 334.79°)
OKLaboklab(17.54% 0.0562 -0.0238)
OKLCHoklch(17.54% 0.061 337.1)
XYZxyz(0.8255, 0.4686, 1.0240)
Luminance0.0047 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20041A #04200A
analogous
#180420 #20041A #20040C
triadic
#20041A #1A2004 #041A20
tetradic
#20041A #201804 #04200A #040C20
square
#20041A #201804 #04200A #040C20
split-complementary
#20041A #0C2004 #042018
monochromatic
#1B0316 #1B0316 #20041A #560B46 #8D1272

Accessibility & contrast

On white

19.20
#20041A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#20041A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20041A
19.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20041A#FFFFFF#000000##FFFFFF
##20041A1.0019.201.0919.20
#FFFFFF19.201.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#040C1B
Deuteranopia (green-blind)
#0D1019
Tritanopia (blue-blind)
#22050D
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #20041a;
/* rgb */ color: rgb(32, 4, 26);
/* oklch */ color: oklch(17.5% 0.061 337.1);
Tailwind
colors: {
  custom: {
    50: '#5b4856',
    500: '#20041a',
    950: '#000000',
  },
}
SCSS
$custom: #20041a;
$custom-light: #5b4856;
$custom-dark: #000000;
JSON
{
  "hex": "#20041a",
  "rgb": {
    "r": 32,
    "g": 4,
    "b": 26
  },
  "hsl": {
    "h": 312.857,
    "s": 77.778,
    "l": 7.059
  },
  "oklch": {
    "l": 0.17538,
    "c": 0.06103,
    "h": 337.1
  },
  "luminance": 0.00468
}

Semantic roles & 50–950 ramp

primary
#20041A
secondary
#1D632C
accent
#F45D34
background
#F5F4F5
surface
#E9E6E9
border
#C5C2C5
text
#040003
muted
#797778

Preview Lab

Preview with #20041A

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

Preview Lab → · Contrast checker → · Palette generator →

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