#96171C#96171C

#96171C is a dark, vivid red. Relative luminance 0.072; OKLCH L 43.5% C 0.161 H 25.7°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#96171C
RGBrgb(150, 23, 28)
HSLhsl(358, 73%, 34%)
HSVhsv(358, 85%, 59%)
CMYKcmyk(0%, 84.7%, 81.3%, 41.2%)
CIE-LABlab(32.22, 50.40, 32.23)
CIE-LCHlch(32.22, 59.83, 32.60°)
OKLaboklab(43.52% 0.1451 0.0697)
OKLCHoklch(43.52% 0.161 25.7)
XYZxyz(13.0953, 7.1828, 1.7953)
Luminance0.0718 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96171C #179691
analogous
#96175C #96171C #965217
triadic
#96171C #1C9617 #171C96
tetradic
#96171C #5C9617 #179691 #521796
square
#96171C #5C9617 #179691 #521796
split-complementary
#96171C #179652 #175C96
monochromatic
#2C0708 #610F12 #96171C #CB1F26 #E2454B

Accessibility & contrast

On white

8.62
#96171C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#96171C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #96171C
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96171C#FFFFFF#000000##FFFFFF
##96171C1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A1A
Deuteranopia (green-blind)
#605516
Tritanopia (blue-blind)
#A6001B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #96171c;
/* rgb */ color: rgb(150, 23, 28);
/* oklch */ color: oklch(43.5% 0.161 25.7);
Tailwind
colors: {
  custom: {
    50: '#be6359',
    500: '#96171c',
    950: '#000000',
  },
}
SCSS
$custom: #96171c;
$custom-light: #be6359;
$custom-dark: #000000;
JSON
{
  "hex": "#96171c",
  "rgb": {
    "r": 150,
    "g": 23,
    "b": 28
  },
  "hsl": {
    "h": 357.638,
    "s": 73.41,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43522,
    "c": 0.16096,
    "h": 25.7
  },
  "luminance": 0.07181
}

Semantic roles & 50–950 ramp

primary
#96171C
secondary
#45C3BE
accent
#F0E938
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140603
muted
#827A78

Preview Lab

Preview with #96171C

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

Preview Lab → · Contrast checker → · Palette generator →

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