#8F312B#8F312B

#8F312B is a dark, vivid red. Relative luminance 0.082; OKLCH L 45.0% C 0.129 H 27.1°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#8F312B
RGBrgb(143, 49, 43)
HSLhsl(4, 54%, 36%)
HSVhsv(4, 70%, 56%)
CMYKcmyk(0%, 65.7%, 69.9%, 43.9%)
CIE-LABlab(34.42, 39.38, 25.26)
CIE-LCHlch(34.42, 46.78, 32.68°)
OKLaboklab(44.98% 0.1145 0.0587)
OKLCHoklch(44.98% 0.129 27.1)
XYZxyz(12.8634, 8.2125, 3.1928)
Luminance0.0821 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F312B #2B898F
analogous
#8F2B57 #8F312B #8F632B
triadic
#8F312B #2B8F31 #312B8F
tetradic
#8F312B #578F2B #2B898F #632B8F
square
#8F312B #578F2B #2B898F #632B8F
split-complementary
#8F312B #2B8F63 #2B578F
monochromatic
#31110F #60211D #8F312B #BE4139 #D06B64

Accessibility & contrast

On white

7.95
#8F312B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8F312B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F312B
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F312B#FFFFFF#000000##FFFFFF
##8F312B1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A442A
Deuteranopia (green-blind)
#625828
Tritanopia (blue-blind)
#9D1A30
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f312b;
/* rgb */ color: rgb(143, 49, 43);
/* oklch */ color: oklch(45.0% 0.129 27.1);
Tailwind
colors: {
  custom: {
    50: '#b66e64',
    500: '#8f312b',
    950: '#000000',
  },
}
SCSS
$custom: #8f312b;
$custom-light: #b66e64;
$custom-dark: #000000;
JSON
{
  "hex": "#8f312b",
  "rgb": {
    "r": 143,
    "g": 49,
    "b": 43
  },
  "hsl": {
    "h": 3.6,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44976,
    "c": 0.12866,
    "h": 27.1
  },
  "luminance": 0.08211
}

Semantic roles & 50–950 ramp

primary
#8F312B
secondary
#5FB1B7
accent
#D4DD4B
background
#FCF6F6
surface
#F8ECEB
border
#D1C7C6
text
#120705
muted
#817A7A

Preview Lab

Preview with #8F312B

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

Preview Lab → · Contrast checker → · Palette generator →

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