#960402#960402

#960402 is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.4% C 0.172 H 29.3°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#960402
RGBrgb(150, 4, 2)
HSLhsl(1, 97%, 30%)
HSVhsv(1, 99%, 59%)
CMYKcmyk(0%, 97.3%, 98.7%, 41.2%)
CIE-LABlab(30.83, 53.34, 43.68)
CIE-LCHlch(30.83, 68.94, 39.31°)
OKLaboklab(42.43% 0.1499 0.084)
OKLCHoklch(42.43% 0.172 29.3)
XYZxyz(12.6338, 6.5775, 0.6618)
Luminance0.0658 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#960402 #029496
analogous
#96024A #960402 #964E02
triadic
#960402 #029604 #040296
tetradic
#960402 #4A9602 #029496 #4E0296
square
#960402 #4A9602 #029496 #4E0296
split-complementary
#960402 #02964E #024A96
monochromatic
#1E0100 #5A0201 #960402 #D20603 #FC1A17

Accessibility & contrast

On white

9.07
#960402 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#960402 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #960402
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##960402#FFFFFF#000000##FFFFFF
##9604021.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3500
Deuteranopia (green-blind)
#5E5300
Tritanopia (blue-blind)
#A60008
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #960402;
/* rgb */ color: rgb(150, 4, 2);
/* oklch */ color: oklch(42.4% 0.172 29.3);
Tailwind
colors: {
  custom: {
    50: '#c05e49',
    500: '#960402',
    950: '#000000',
  },
}
SCSS
$custom: #960402;
$custom-light: #c05e49;
$custom-dark: #000000;
JSON
{
  "hex": "#960402",
  "rgb": {
    "r": 150,
    "g": 4,
    "b": 2
  },
  "hsl": {
    "h": 0.811,
    "s": 97.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.42433,
    "c": 0.17183,
    "h": 29.3
  },
  "luminance": 0.06575
}

Semantic roles & 50–950 ramp

primary
#960402
secondary
#27CBCD
accent
#FCFF29
background
#FDF6F4
surface
#FAEBE7
border
#D3C6C3
text
#150501
muted
#837977

Preview Lab

Preview with #960402

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

Preview Lab → · Contrast checker → · Palette generator →

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