#320502#320502

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

Color values

HEX#320502
RGBrgb(50, 5, 2)
HSLhsl(4, 92%, 10%)
HSVhsv(4, 96%, 20%)
CMYKcmyk(0%, 90%, 96%, 80.4%)
CIE-LABlab(7.15, 22.23, 10.36)
CIE-LCHlch(7.15, 24.52, 24.99°)
OKLaboklab(20.79% 0.0631 0.0376)
OKLCHoklch(20.79% 0.073 30.8)
XYZxyz(1.3808, 0.7913, 0.1374)
Luminance0.0079 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320502 #022F32
analogous
#320217 #320502 #321D02
triadic
#320502 #023205 #050232
tetradic
#320502 #173202 #022F32 #1D0232
square
#320502 #173202 #022F32 #1D0232
split-complementary
#320502 #02321D #021732
monochromatic
#1D0301 #1D0301 #320502 #6D0B04 #A81107

Accessibility & contrast

On white

18.13
#320502 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#320502 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##320502#FFFFFF#000000##FFFFFF
##3205021.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)
#130F01
Deuteranopia (green-blind)
#1E1901
Tritanopia (blue-blind)
#380005
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #320502;
/* rgb */ color: rgb(50, 5, 2);
/* oklch */ color: oklch(20.8% 0.073 30.8);
Tailwind
colors: {
  custom: {
    50: '#6e4947',
    500: '#320502',
    950: '#000000',
  },
}
SCSS
$custom: #320502;
$custom-light: #6e4947;
$custom-dark: #000000;
JSON
{
  "hex": "#320502",
  "rgb": {
    "r": 50,
    "g": 5,
    "b": 2
  },
  "hsl": {
    "h": 3.75,
    "s": 92.308,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20786,
    "c": 0.07344,
    "h": 30.8
  },
  "luminance": 0.00791
}

Semantic roles & 50–950 ramp

primary
#320502
secondary
#197176
accent
#F2FF29
background
#F6F4F4
surface
#ECE7E6
border
#C7C3C2
text
#080100
muted
#7B7777

Preview Lab

Preview with #320502

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

Preview Lab → · Contrast checker → · Palette generator →

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