#8B171E#8B171E

#8B171E is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.4% C 0.150 H 24.3°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#8B171E
RGBrgb(139, 23, 30)
HSLhsl(356, 72%, 32%)
HSVhsv(356, 83%, 55%)
CMYKcmyk(0%, 83.5%, 78.4%, 45.5%)
CIE-LABlab(29.90, 47.19, 27.87)
CIE-LCHlch(29.90, 54.80, 30.57°)
OKLaboklab(41.4% 0.1368 0.0618)
OKLCHoklch(41.4% 0.15 24.3)
XYZxyz(11.1896, 6.1973, 1.8351)
Luminance0.0619 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B171E #178B84
analogous
#8B1758 #8B171E #8B4A17
triadic
#8B171E #1E8B17 #171E8B
tetradic
#8B171E #588B17 #178B84 #4A178B
square
#8B171E #588B17 #178B84 #4A178B
split-complementary
#8B171E #178B4A #17588B
monochromatic
#220607 #560E13 #8B171E #C02029 #DF3D47

Accessibility & contrast

On white

9.38
#8B171E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#8B171E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B171E
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B171E#FFFFFF#000000##FFFFFF
##8B171E1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C371D
Deuteranopia (green-blind)
#594F19
Tritanopia (blue-blind)
#9A001B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #8b171e;
/* rgb */ color: rgb(139, 23, 30);
/* oklch */ color: oklch(41.4% 0.150 24.3);
Tailwind
colors: {
  custom: {
    50: '#b5615a',
    500: '#8b171e',
    950: '#000000',
  },
}
SCSS
$custom: #8b171e;
$custom-light: #b5615a;
$custom-dark: #000000;
JSON
{
  "hex": "#8b171e",
  "rgb": {
    "r": 139,
    "g": 23,
    "b": 30
  },
  "hsl": {
    "h": 356.379,
    "s": 71.605,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41404,
    "c": 0.15009,
    "h": 24.3
  },
  "luminance": 0.06195
}

Semantic roles & 50–950 ramp

primary
#8B171E
secondary
#3FBFB7
accent
#EEE339
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8B171E

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

Preview Lab → · Contrast checker → · Palette generator →

#8B171E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva