#8E312F#8E312F

#8E312F is a dark, vivid red. Relative luminance 0.082; OKLCH L 44.9% C 0.127 H 24.9°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#8E312F
RGBrgb(142, 49, 47)
HSLhsl(1, 50%, 37%)
HSVhsv(1, 67%, 56%)
CMYKcmyk(0%, 65.5%, 66.9%, 44.3%)
CIE-LABlab(34.30, 39.25, 22.59)
CIE-LCHlch(34.30, 45.29, 29.92°)
OKLaboklab(44.87% 0.1151 0.0534)
OKLCHoklch(44.87% 0.127 24.9)
XYZxyz(12.7680, 8.1544, 3.5904)
Luminance0.0815 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E312F #2F8C8E
analogous
#8E2F5D #8E312F #8E612F
triadic
#8E312F #2F8E31 #312F8E
tetradic
#8E312F #5D8E2F #2F8C8E #612F8E
square
#8E312F #5D8E2F #2F8C8E #612F8E
split-complementary
#8E312F #2F8E61 #2F5D8E
monochromatic
#321111 #602120 #8E312F #BC413E #CE6C6A

Accessibility & contrast

On white

7.98
#8E312F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E312F
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E312F#FFFFFF#000000##FFFFFF
##8E312F1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A442E
Deuteranopia (green-blind)
#61582C
Tritanopia (blue-blind)
#9C1C31
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e312f;
/* rgb */ color: rgb(142, 49, 47);
/* oklch */ color: oklch(44.9% 0.127 24.9);
Tailwind
colors: {
  custom: {
    50: '#b56e67',
    500: '#8e312f',
    950: '#000000',
  },
}
SCSS
$custom: #8e312f;
$custom-light: #b56e67;
$custom-dark: #000000;
JSON
{
  "hex": "#8e312f",
  "rgb": {
    "r": 142,
    "g": 49,
    "b": 47
  },
  "hsl": {
    "h": 1.263,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44873,
    "c": 0.12685,
    "h": 24.9
  },
  "luminance": 0.08153
}

Semantic roles & 50–950 ramp

primary
#8E312F
secondary
#64B3B5
accent
#D7DA4E
background
#FBF6F6
surface
#F7ECEB
border
#D0C7C6
text
#120706
muted
#817A7A

Preview Lab

Preview with #8E312F

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

Preview Lab → · Contrast checker → · Palette generator →

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