#8F2717#8F2717

#8F2717 is a dark, vivid red. Relative luminance 0.074; OKLCH L 43.5% C 0.142 H 31.6°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#8F2717
RGBrgb(143, 39, 23)
HSLhsl(8, 72%, 33%)
HSVhsv(8, 84%, 56%)
CMYKcmyk(0%, 72.7%, 83.9%, 43.9%)
CIE-LABlab(32.60, 42.80, 34.94)
CIE-LCHlch(32.60, 55.25, 39.23°)
OKLaboklab(43.54% 0.121 0.0745)
OKLCHoklch(43.54% 0.142 31.6)
XYZxyz(12.2093, 7.3544, 1.5871)
Luminance0.0735 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2717 #177F8F
analogous
#8F1743 #8F2717 #8F6317
triadic
#8F2717 #178F27 #27178F
tetradic
#8F2717 #438F17 #177F8F #63178F
square
#8F2717 #438F17 #177F8F #63178F
split-complementary
#8F2717 #178F63 #17438F
monochromatic
#260A06 #5A190F #8F2717 #C4351F #E05540

Accessibility & contrast

On white

8.50
#8F2717 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#8F2717 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2717
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2717#FFFFFF#000000##FFFFFF
##8F27171.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E14
Deuteranopia (green-blind)
#605512
Tritanopia (blue-blind)
#9E0024
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8f2717;
/* rgb */ color: rgb(143, 39, 23);
/* oklch */ color: oklch(43.5% 0.142 31.6);
Tailwind
colors: {
  custom: {
    50: '#b86856',
    500: '#8f2717',
    950: '#000000',
  },
}
SCSS
$custom: #8f2717;
$custom-light: #b86856;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2717",
  "rgb": {
    "r": 143,
    "g": 39,
    "b": 23
  },
  "hsl": {
    "h": 8,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43535,
    "c": 0.14214,
    "h": 31.6
  },
  "luminance": 0.07353
}

Semantic roles & 50–950 ramp

primary
#8F2717
secondary
#41B0C1
accent
#D7EF39
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130703
muted
#827A78

Preview Lab

Preview with #8F2717

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

Preview Lab → · Contrast checker → · Palette generator →

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