#8F1731#8F1731

#8F1731 is a dark, vivid red. Relative luminance 0.067; OKLCH L 42.5% C 0.153 H 15.7°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#8F1731
RGBrgb(143, 23, 49)
HSLhsl(347, 72%, 33%)
HSVhsv(347, 84%, 56%)
CMYKcmyk(0%, 83.9%, 65.7%, 43.9%)
CIE-LABlab(31.06, 49.31, 17.23)
CIE-LCHlch(31.06, 52.24, 19.26°)
OKLaboklab(42.5% 0.1475 0.0414)
OKLCHoklch(42.5% 0.153 15.7)
XYZxyz(12.1898, 6.6761, 3.5519)
Luminance0.0667 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1731 #178F75
analogous
#8F176D #8F1731 #8F3917
triadic
#8F1731 #318F17 #17318F
tetradic
#8F1731 #6D8F17 #178F75 #39178F
square
#8F1731 #6D8F17 #178F75 #39178F
split-complementary
#8F1731 #178F39 #176D8F
monochromatic
#26060D #5A0F1F #8F1731 #C41F43 #E04063

Accessibility & contrast

On white

8.99
#8F1731 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#8F1731 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1731
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1731#FFFFFF#000000##FFFFFF
##8F17311.008.992.338.99
#FFFFFF8.991.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3931
Deuteranopia (green-blind)
#5A522E
Tritanopia (blue-blind)
#9D0023
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8f1731;
/* rgb */ color: rgb(143, 23, 49);
/* oklch */ color: oklch(42.5% 0.153 15.7);
Tailwind
colors: {
  custom: {
    50: '#b76368',
    500: '#8f1731',
    950: '#000000',
  },
}
SCSS
$custom: #8f1731;
$custom-light: #b76368;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1731",
  "rgb": {
    "r": 143,
    "g": 23,
    "b": 49
  },
  "hsl": {
    "h": 347,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42504,
    "c": 0.15316,
    "h": 15.7
  },
  "luminance": 0.06674
}

Semantic roles & 50–950 ramp

primary
#8F1731
secondary
#41C1A5
accent
#EFC839
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130606
muted
#827A7A

Preview Lab

Preview with #8F1731

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

Preview Lab → · Contrast checker → · Palette generator →

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