#8F2117#8F2117

#8F2117 is a dark, vivid red. Relative luminance 0.070; OKLCH L 42.9% C 0.147 H 29.6°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#8F2117
RGBrgb(143, 33, 23)
HSLhsl(5, 72%, 33%)
HSVhsv(5, 84%, 56%)
CMYKcmyk(0%, 76.9%, 83.9%, 43.9%)
CIE-LABlab(31.79, 45.05, 34.16)
CIE-LCHlch(31.79, 56.54, 37.18°)
OKLaboklab(42.93% 0.128 0.0728)
OKLCHoklch(42.93% 0.147 29.6)
XYZxyz(12.0277, 6.9911, 1.5266)
Luminance0.0699 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2117 #17858F
analogous
#8F1749 #8F2117 #8F5D17
triadic
#8F2117 #178F21 #21178F
tetradic
#8F2117 #498F17 #17858F #5D178F
square
#8F2117 #498F17 #17858F #5D178F
split-complementary
#8F2117 #178F5D #17498F
monochromatic
#260906 #5A150F #8F2117 #C42D1F #E04D40

Accessibility & contrast

On white

8.76
#8F2117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#8F2117 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2117
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2117#FFFFFF#000000##FFFFFF
##8F21171.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B14
Deuteranopia (green-blind)
#5E5311
Tritanopia (blue-blind)
#9E0020
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8f2117;
/* rgb */ color: rgb(143, 33, 23);
/* oklch */ color: oklch(42.9% 0.147 29.6);
Tailwind
colors: {
  custom: {
    50: '#b96655',
    500: '#8f2117',
    950: '#000000',
  },
}
SCSS
$custom: #8f2117;
$custom-light: #b96655;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2117",
  "rgb": {
    "r": 143,
    "g": 33,
    "b": 23
  },
  "hsl": {
    "h": 5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42927,
    "c": 0.1473,
    "h": 29.6
  },
  "luminance": 0.06989
}

Semantic roles & 50–950 ramp

primary
#8F2117
secondary
#41B6C1
accent
#E0EF39
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8F2117

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

Preview Lab → · Contrast checker → · Palette generator →

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