#320402#320402

#320402 is a very dark, moderate red. Relative luminance 0.008; OKLCH L 20.6% C 0.075 H 29.8°. Best body text is #FFFFFF at 18.20:1 contrast (WCAG AA passes).

Color values

HEX#320402
RGBrgb(50, 4, 2)
HSLhsl(3, 92%, 10%)
HSVhsv(3, 96%, 20%)
CMYKcmyk(0%, 92%, 96%, 80.4%)
CIE-LABlab(6.95, 22.75, 10.07)
CIE-LCHlch(6.95, 24.88, 23.88°)
OKLaboklab(20.63% 0.0649 0.0372)
OKLCHoklch(20.63% 0.075 29.8)
XYZxyz(1.3699, 0.7696, 0.1338)
Luminance0.0077 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320402 #023032
analogous
#320218 #320402 #321C02
triadic
#320402 #023204 #040232
tetradic
#320402 #183202 #023032 #1C0232
square
#320402 #183202 #023032 #1C0232
split-complementary
#320402 #02321C #021832
monochromatic
#1D0201 #1D0201 #320402 #6D0904 #A80D07

Accessibility & contrast

On white

18.20
#320402 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#320402 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320402
18.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320402#FFFFFF#000000##FFFFFF
##3204021.0018.201.1518.20
#FFFFFF18.201.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#120F02
Deuteranopia (green-blind)
#1D1901
Tritanopia (blue-blind)
#380004
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #320402;
/* rgb */ color: rgb(50, 4, 2);
/* oklch */ color: oklch(20.6% 0.075 29.8);
Tailwind
colors: {
  custom: {
    50: '#6e4847',
    500: '#320402',
    950: '#000000',
  },
}
SCSS
$custom: #320402;
$custom-light: #6e4847;
$custom-dark: #000000;
JSON
{
  "hex": "#320402",
  "rgb": {
    "r": 50,
    "g": 4,
    "b": 2
  },
  "hsl": {
    "h": 2.5,
    "s": 92.308,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20627,
    "c": 0.07483,
    "h": 29.8
  },
  "luminance": 0.00769
}

Semantic roles & 50–950 ramp

primary
#320402
secondary
#197276
accent
#F6FF29
background
#F6F4F4
surface
#ECE7E6
border
#C7C3C2
text
#080100
muted
#7B7777

Preview Lab

Preview with #320402

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

Preview Lab → · Contrast checker → · Palette generator →

#320402 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva