#8B1F17#8B1F17

#8B1F17 is a dark, vivid red. Relative luminance 0.065; OKLCH L 42.0% C 0.145 H 29.1°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#8B1F17
RGBrgb(139, 31, 23)
HSLhsl(4, 72%, 32%)
HSVhsv(4, 83%, 55%)
CMYKcmyk(0%, 77.7%, 83.5%, 45.5%)
CIE-LABlab(30.72, 44.44, 32.85)
CIE-LCHlch(30.72, 55.26, 36.48°)
OKLaboklab(41.98% 0.1266 0.0703)
OKLCHoklch(41.98% 0.145 29.1)
XYZxyz(11.2935, 6.5326, 1.4767)
Luminance0.0653 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1F17 #17838B
analogous
#8B1749 #8B1F17 #8B5917
triadic
#8B1F17 #178B1F #1F178B
tetradic
#8B1F17 #498B17 #17838B #59178B
square
#8B1F17 #498B17 #17838B #59178B
split-complementary
#8B1F17 #178B59 #17498B
monochromatic
#220806 #56130E #8B1F17 #C02B20 #DF493D

Accessibility & contrast

On white

9.11
#8B1F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#8B1F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1F17
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1F17#FFFFFF#000000##FFFFFF
##8B1F171.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403915
Deuteranopia (green-blind)
#5B5112
Tritanopia (blue-blind)
#9A001E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8b1f17;
/* rgb */ color: rgb(139, 31, 23);
/* oklch */ color: oklch(42.0% 0.145 29.1);
Tailwind
colors: {
  custom: {
    50: '#b66455',
    500: '#8b1f17',
    950: '#000000',
  },
}
SCSS
$custom: #8b1f17;
$custom-light: #b66455;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1f17",
  "rgb": {
    "r": 139,
    "g": 31,
    "b": 23
  },
  "hsl": {
    "h": 4.138,
    "s": 71.605,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41984,
    "c": 0.14482,
    "h": 29.1
  },
  "luminance": 0.06531
}

Semantic roles & 50–950 ramp

primary
#8B1F17
secondary
#3FB6BF
accent
#E2EE39
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8B1F17

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

Preview Lab → · Contrast checker → · Palette generator →

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