#8F151A#8F151A

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

Color values

HEX#8F151A
RGBrgb(143, 21, 26)
HSLhsl(358, 74%, 32%)
HSVhsv(358, 85%, 56%)
CMYKcmyk(0%, 85.3%, 81.8%, 43.9%)
CIE-LABlab(30.53, 48.77, 31.21)
CIE-LCHlch(30.53, 57.90, 32.62°)
OKLaboklab(42% 0.1404 0.0674)
OKLCHoklch(42% 0.156 25.7)
XYZxyz(11.7838, 6.4525, 1.6021)
Luminance0.0645 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F151A #158F8A
analogous
#8F1557 #8F151A #8F4D15
triadic
#8F151A #1A8F15 #151A8F
tetradic
#8F151A #578F15 #158F8A #4D158F
square
#8F151A #578F15 #158F8A #4D158F
split-complementary
#8F151A #158F4D #15578F
monochromatic
#240507 #5A0D10 #8F151A #C41D24 #E23C43

Accessibility & contrast

On white

9.17
#8F151A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#8F151A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F151A
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F151A#FFFFFF#000000##FFFFFF
##8F151A1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3719
Deuteranopia (green-blind)
#5B5114
Tritanopia (blue-blind)
#9E0019
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8f151a;
/* rgb */ color: rgb(143, 21, 26);
/* oklch */ color: oklch(42.0% 0.156 25.7);
Tailwind
colors: {
  custom: {
    50: '#b96157',
    500: '#8f151a',
    950: '#000000',
  },
}
SCSS
$custom: #8f151a;
$custom-light: #b96157;
$custom-dark: #000000;
JSON
{
  "hex": "#8f151a",
  "rgb": {
    "r": 143,
    "g": 21,
    "b": 26
  },
  "hsl": {
    "h": 357.541,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42,
    "c": 0.15573,
    "h": 25.7
  },
  "luminance": 0.06451
}

Semantic roles & 50–950 ramp

primary
#8F151A
secondary
#3EC2BD
accent
#F1E937
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8F151A

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

Preview Lab → · Contrast checker → · Palette generator →

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