#89171B#89171B

#89171B is a dark, vivid red. Relative luminance 0.060; OKLCH L 41.0% C 0.148 H 25.4°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#89171B
RGBrgb(137, 23, 27)
HSLhsl(358, 71%, 31%)
HSVhsv(358, 83%, 54%)
CMYKcmyk(0%, 83.2%, 80.3%, 46.3%)
CIE-LABlab(29.44, 46.47, 29.09)
CIE-LCHlch(29.44, 54.82, 32.04°)
OKLaboklab(40.98% 0.1341 0.0637)
OKLCHoklch(40.98% 0.148 25.4)
XYZxyz(10.8221, 6.0120, 1.6273)
Luminance0.0601 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89171B #178985
analogous
#891754 #89171B #894C17
triadic
#89171B #1B8917 #171B89
tetradic
#89171B #548917 #178985 #4C1789
square
#89171B #548917 #178985 #4C1789
split-complementary
#89171B #17894C #175489
monochromatic
#200506 #550E11 #89171B #BD2025 #DE3C42

Accessibility & contrast

On white

9.54
#89171B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#89171B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #89171B
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##89171B#FFFFFF#000000##FFFFFF
##89171B1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C361A
Deuteranopia (green-blind)
#584E16
Tritanopia (blue-blind)
#97001A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #89171b;
/* rgb */ color: rgb(137, 23, 27);
/* oklch */ color: oklch(41.0% 0.148 25.4);
Tailwind
colors: {
  custom: {
    50: '#b46158',
    500: '#89171b',
    950: '#000000',
  },
}
SCSS
$custom: #89171b;
$custom-light: #b46158;
$custom-dark: #000000;
JSON
{
  "hex": "#89171b",
  "rgb": {
    "r": 137,
    "g": 23,
    "b": 27
  },
  "hsl": {
    "h": 357.895,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40975,
    "c": 0.14843,
    "h": 25.4
  },
  "luminance": 0.0601
}

Semantic roles & 50–950 ramp

primary
#89171B
secondary
#3FBDB8
accent
#EEE83A
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130503
muted
#827A78

Preview Lab

Preview with #89171B

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

Preview Lab → · Contrast checker → · Palette generator →

#89171B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva