#8F312D#8F312D

#8F312D is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.0% C 0.128 H 26.0°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#8F312D
RGBrgb(143, 49, 45)
HSLhsl(2, 52%, 37%)
HSVhsv(2, 69%, 56%)
CMYKcmyk(0%, 65.7%, 68.5%, 43.9%)
CIE-LABlab(34.45, 39.49, 24.06)
CIE-LCHlch(34.45, 46.25, 31.35°)
OKLaboklab(45.01% 0.1153 0.0563)
OKLCHoklch(45.01% 0.128 26)
XYZxyz(12.9010, 8.2275, 3.3909)
Luminance0.0823 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F312D #2D8B8F
analogous
#8F2D5A #8F312D #8F622D
triadic
#8F312D #2D8F31 #312D8F
tetradic
#8F312D #5A8F2D #2D8B8F #622D8F
square
#8F312D #5A8F2D #2D8B8F #622D8F
split-complementary
#8F312D #2D8F62 #2D5A8F
monochromatic
#321110 #60211E #8F312D #BE413C #CF6B67

Accessibility & contrast

On white

7.94
#8F312D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8F312D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F312D
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F312D#FFFFFF#000000##FFFFFF
##8F312D1.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A442C
Deuteranopia (green-blind)
#62592A
Tritanopia (blue-blind)
#9D1B31
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f312d;
/* rgb */ color: rgb(143, 49, 45);
/* oklch */ color: oklch(45.0% 0.128 26.0);
Tailwind
colors: {
  custom: {
    50: '#b66e66',
    500: '#8f312d',
    950: '#000000',
  },
}
SCSS
$custom: #8f312d;
$custom-light: #b66e66;
$custom-dark: #000000;
JSON
{
  "hex": "#8f312d",
  "rgb": {
    "r": 143,
    "g": 49,
    "b": 45
  },
  "hsl": {
    "h": 2.449,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45009,
    "c": 0.12832,
    "h": 26
  },
  "luminance": 0.08226
}

Semantic roles & 50–950 ramp

primary
#8F312D
secondary
#62B2B6
accent
#D6DC4C
background
#FCF6F6
surface
#F8ECEB
border
#D1C7C6
text
#120706
muted
#817A7A

Preview Lab

Preview with #8F312D

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

Preview Lab → · Contrast checker → · Palette generator →

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