#8F311F#8F311F

#8F311F is a dark, vivid red. Relative luminance 0.081; OKLCH L 44.8% C 0.131 H 32.9°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#8F311F
RGBrgb(143, 49, 31)
HSLhsl(10, 64%, 34%)
HSVhsv(10, 78%, 56%)
CMYKcmyk(0%, 65.7%, 78.3%, 43.9%)
CIE-LABlab(34.27, 38.78, 32.20)
CIE-LCHlch(34.27, 50.41, 39.70°)
OKLaboklab(44.81% 0.1101 0.0712)
OKLCHoklch(44.81% 0.131 32.9)
XYZxyz(12.6747, 8.1370, 2.1993)
Luminance0.0814 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F311F #1F7D8F
analogous
#8F1F45 #8F311F #8F691F
triadic
#8F311F #1F8F31 #311F8F
tetradic
#8F311F #458F1F #1F7D8F #691F8F
square
#8F311F #458F1F #1F7D8F #691F8F
split-complementary
#8F311F #1F8F69 #1F458F
monochromatic
#2A0F09 #5D2014 #8F311F #C1422A #D9664F

Accessibility & contrast

On white

7.99
#8F311F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8F311F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F311F
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F311F#FFFFFF#000000##FFFFFF
##8F311F1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C431C
Deuteranopia (green-blind)
#63581C
Tritanopia (blue-blind)
#9E182D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f311f;
/* rgb */ color: rgb(143, 49, 31);
/* oklch */ color: oklch(44.8% 0.131 32.9);
Tailwind
colors: {
  custom: {
    50: '#b76e5c',
    500: '#8f311f',
    950: '#000000',
  },
}
SCSS
$custom: #8f311f;
$custom-light: #b76e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#8f311f",
  "rgb": {
    "r": 143,
    "g": 49,
    "b": 31
  },
  "hsl": {
    "h": 9.643,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4481,
    "c": 0.13112,
    "h": 32.9
  },
  "luminance": 0.08135
}

Semantic roles & 50–950 ramp

primary
#8F311F
secondary
#4EAABC
accent
#CDE740
background
#FCF6F5
surface
#F8ECE9
border
#D1C7C5
text
#130704
muted
#827A79

Preview Lab

Preview with #8F311F

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

Preview Lab → · Contrast checker → · Palette generator →

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