#8F1517#8F1517

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

Color values

HEX#8F1517
RGBrgb(143, 21, 23)
HSLhsl(359, 74%, 32%)
HSVhsv(359, 85%, 56%)
CMYKcmyk(0%, 85.3%, 83.9%, 43.9%)
CIE-LABlab(30.50, 48.68, 32.93)
CIE-LCHlch(30.50, 58.77, 34.07°)
OKLaboklab(41.97% 0.1394 0.0701)
OKLCHoklch(41.97% 0.156 26.7)
XYZxyz(11.7520, 6.4398, 1.4347)
Luminance0.0644 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1517 #158F8D
analogous
#8F1554 #8F1517 #8F5015
triadic
#8F1517 #178F15 #15178F
tetradic
#8F1517 #548F15 #158F8D #50158F
square
#8F1517 #548F15 #158F8D #50158F
split-complementary
#8F1517 #158F50 #15548F
monochromatic
#240506 #5A0D0E #8F1517 #C41D20 #E23C3F

Accessibility & contrast

On white

9.18
#8F1517 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F1517
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1517#FFFFFF#000000##FFFFFF
##8F15171.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3715
Deuteranopia (green-blind)
#5B5110
Tritanopia (blue-blind)
#9E0018
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8f1517;
/* rgb */ color: rgb(143, 21, 23);
/* oklch */ color: oklch(42.0% 0.156 26.7);
Tailwind
colors: {
  custom: {
    50: '#b96155',
    500: '#8f1517',
    950: '#000000',
  },
}
SCSS
$custom: #8f1517;
$custom-light: #b96155;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1517",
  "rgb": {
    "r": 143,
    "g": 21,
    "b": 23
  },
  "hsl": {
    "h": 359.016,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41967,
    "c": 0.15606,
    "h": 26.7
  },
  "luminance": 0.06438
}

Semantic roles & 50–950 ramp

primary
#8F1517
secondary
#3EC2C0
accent
#F1EE37
background
#FCF6F5
surface
#F8EBE8
border
#D1C6C4
text
#130603
muted
#827A78

Preview Lab

Preview with #8F1517

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

Preview Lab → · Contrast checker → · Palette generator →

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