#8F2817#8F2817

#8F2817 is a dark, vivid red. Relative luminance 0.074; OKLCH L 43.6% C 0.141 H 32.0°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#8F2817
RGBrgb(143, 40, 23)
HSLhsl(9, 72%, 33%)
HSVhsv(9, 84%, 56%)
CMYKcmyk(0%, 72%, 83.9%, 43.9%)
CIE-LABlab(32.75, 42.40, 35.08)
CIE-LCHlch(32.75, 55.03, 39.60°)
OKLaboklab(43.64% 0.1198 0.0749)
OKLCHoklch(43.64% 0.141 32)
XYZxyz(12.2426, 7.4210, 1.5982)
Luminance0.0742 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2817 #177E8F
analogous
#8F1742 #8F2817 #8F6417
triadic
#8F2817 #178F28 #28178F
tetradic
#8F2817 #428F17 #177E8F #64178F
square
#8F2817 #428F17 #177E8F #64178F
split-complementary
#8F2817 #178F64 #17428F
monochromatic
#260B06 #5A190F #8F2817 #C4371F #E05740

Accessibility & contrast

On white

8.45
#8F2817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#8F2817 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2817
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2817#FFFFFF#000000##FFFFFF
##8F28171.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473F14
Deuteranopia (green-blind)
#605512
Tritanopia (blue-blind)
#9E0025
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8f2817;
/* rgb */ color: rgb(143, 40, 23);
/* oklch */ color: oklch(43.6% 0.141 32.0);
Tailwind
colors: {
  custom: {
    50: '#b86956',
    500: '#8f2817',
    950: '#000000',
  },
}
SCSS
$custom: #8f2817;
$custom-light: #b86956;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2817",
  "rgb": {
    "r": 143,
    "g": 40,
    "b": 23
  },
  "hsl": {
    "h": 8.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43644,
    "c": 0.14124,
    "h": 32
  },
  "luminance": 0.07419
}

Semantic roles & 50–950 ramp

primary
#8F2817
secondary
#41AFC1
accent
#D5EF39
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130703
muted
#827A78

Preview Lab

Preview with #8F2817

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

Preview Lab → · Contrast checker → · Palette generator →

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