#32040C#32040C

#32040C is a very dark, moderate red. Relative luminance 0.008; OKLCH L 20.9% C 0.073 H 15.9°. Best body text is #FFFFFF at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#32040C
RGBrgb(50, 4, 12)
HSLhsl(350, 85%, 11%)
HSVhsv(350, 92%, 20%)
CMYKcmyk(0%, 92%, 76%, 80.4%)
CIE-LABlab(7.15, 23.51, 6.24)
CIE-LCHlch(7.15, 24.32, 14.87°)
OKLaboklab(20.86% 0.0707 0.0201)
OKLCHoklch(20.86% 0.074 15.9)
XYZxyz(1.4253, 0.7917, 0.4255)
Luminance0.0079 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32040C #04322A
analogous
#320423 #32040C #321304
triadic
#32040C #0C3204 #040C32
tetradic
#32040C #233204 #04322A #130432
square
#32040C #233204 #04322A #130432
split-complementary
#32040C #043213 #042332
monochromatic
#1C0207 #1C0207 #32040C #6B091A #A30D27

Accessibility & contrast

On white

18.13
#32040C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#32040C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32040C
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32040C#FFFFFF#000000##FFFFFF
##32040C1.0018.131.1618.13
#FFFFFF18.131.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#100F0C
Deuteranopia (green-blind)
#1C190B
Tritanopia (blue-blind)
#380007
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #32040c;
/* rgb */ color: rgb(50, 4, 12);
/* oklch */ color: oklch(20.9% 0.073 15.9);
Tailwind
colors: {
  custom: {
    50: '#6e484c',
    500: '#32040c',
    950: '#000000',
  },
}
SCSS
$custom: #32040c;
$custom-light: #6e484c;
$custom-dark: #000000;
JSON
{
  "hex": "#32040c",
  "rgb": {
    "r": 50,
    "g": 4,
    "b": 12
  },
  "hsl": {
    "h": 349.565,
    "s": 85.185,
    "l": 10.588
  },
  "oklch": {
    "l": 0.20858,
    "c": 0.0735,
    "h": 15.9
  },
  "luminance": 0.00791
}

Semantic roles & 50–950 ramp

primary
#32040C
secondary
#1D7465
accent
#FBD72C
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#080101
muted
#7B7777

Preview Lab

Preview with #32040C

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

Preview Lab → · Contrast checker → · Palette generator →

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