#8E313B#8E313B

#8E313B is a mid, vivid red. Relative luminance 0.083; OKLCH L 45.1% C 0.126 H 17.4°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#8E313B
RGBrgb(142, 49, 59)
HSLhsl(354, 49%, 37%)
HSVhsv(354, 65%, 56%)
CMYKcmyk(0%, 65.5%, 58.5%, 44.3%)
CIE-LABlab(34.53, 40.11, 15.28)
CIE-LCHlch(34.53, 42.92, 20.86°)
OKLaboklab(45.12% 0.1201 0.0377)
OKLCHoklch(45.12% 0.126 17.4)
XYZxyz(13.0442, 8.2649, 5.0452)
Luminance0.0826 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E313B #318E84
analogous
#8E316A #8E313B #8E5531
triadic
#8E313B #3B8E31 #313B8E
tetradic
#8E313B #6A8E31 #318E84 #55318E
square
#8E313B #6A8E31 #318E84 #55318E
split-complementary
#8E313B #318E55 #316A8E
monochromatic
#331215 #612128 #8E313B #BB414E #CD6D77

Accessibility & contrast

On white

7.92
#8E313B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E313B
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E313B#FFFFFF#000000##FFFFFF
##8E313B1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48453B
Deuteranopia (green-blind)
#605839
Tritanopia (blue-blind)
#9B1F35
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e313b;
/* rgb */ color: rgb(142, 49, 59);
/* oklch */ color: oklch(45.1% 0.126 17.4);
Tailwind
colors: {
  custom: {
    50: '#b46e70',
    500: '#8e313b',
    950: '#000000',
  },
}
SCSS
$custom: #8e313b;
$custom-light: #b46e70;
$custom-dark: #000000;
JSON
{
  "hex": "#8e313b",
  "rgb": {
    "r": 142,
    "g": 49,
    "b": 59
  },
  "hsl": {
    "h": 353.548,
    "s": 48.691,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45115,
    "c": 0.12584,
    "h": 17.4
  },
  "luminance": 0.08263
}

Semantic roles & 50–950 ramp

primary
#8E313B
secondary
#67B4AC
accent
#D8CA50
background
#FBF6F6
surface
#F6ECEC
border
#D0C7C7
text
#120707
muted
#817A7A

Preview Lab

Preview with #8E313B

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

Preview Lab → · Contrast checker → · Palette generator →

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