#8E312E#8E312E

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

Color values

HEX#8E312E
RGBrgb(142, 49, 46)
HSLhsl(2, 51%, 37%)
HSVhsv(2, 68%, 56%)
CMYKcmyk(0%, 65.5%, 67.6%, 44.3%)
CIE-LABlab(34.29, 39.19, 23.20)
CIE-LCHlch(34.29, 45.54, 30.62°)
OKLaboklab(44.86% 0.1147 0.0546)
OKLCHoklch(44.86% 0.127 25.5)
XYZxyz(12.7481, 8.1464, 3.4854)
Luminance0.0814 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E312E #2E8B8E
analogous
#8E2E5B #8E312E #8E612E
triadic
#8E312E #2E8E31 #312E8E
tetradic
#8E312E #5B8E2E #2E8B8E #612E8E
square
#8E312E #5B8E2E #2E8B8E #612E8E
split-complementary
#8E312E #2E8E61 #2E5B8E
monochromatic
#321110 #60211F #8E312E #BC413D #CE6B68

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E312E#FFFFFF#000000##FFFFFF
##8E312E1.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)
#4A442D
Deuteranopia (green-blind)
#61582B
Tritanopia (blue-blind)
#9C1C31
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e312e;
/* rgb */ color: rgb(142, 49, 46);
/* oklch */ color: oklch(44.9% 0.127 25.5);
Tailwind
colors: {
  custom: {
    50: '#b56e66',
    500: '#8e312e',
    950: '#000000',
  },
}
SCSS
$custom: #8e312e;
$custom-light: #b56e66;
$custom-dark: #000000;
JSON
{
  "hex": "#8e312e",
  "rgb": {
    "r": 142,
    "g": 49,
    "b": 46
  },
  "hsl": {
    "h": 1.875,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44855,
    "c": 0.127,
    "h": 25.5
  },
  "luminance": 0.08145
}

Semantic roles & 50–950 ramp

primary
#8E312E
secondary
#63B2B5
accent
#D6DB4D
background
#FBF6F6
surface
#F7ECEB
border
#D0C7C6
text
#120706
muted
#817A7A

Preview Lab

Preview with #8E312E

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

Preview Lab → · Contrast checker → · Palette generator →

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