#8E313A#8E313A

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

Color values

HEX#8E313A
RGBrgb(142, 49, 58)
HSLhsl(354, 49%, 37%)
HSVhsv(354, 65%, 56%)
CMYKcmyk(0%, 65.5%, 59.2%, 44.3%)
CIE-LABlab(34.51, 40.03, 15.89)
CIE-LCHlch(34.51, 43.07, 21.66°)
OKLaboklab(45.09% 0.1196 0.0391)
OKLCHoklch(45.09% 0.126 18.1)
XYZxyz(13.0186, 8.2546, 4.9099)
Luminance0.0825 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E313A #318E85
analogous
#8E3168 #8E313A #8E5731
triadic
#8E313A #3A8E31 #313A8E
tetradic
#8E313A #688E31 #318E85 #57318E
square
#8E313A #688E31 #318E85 #57318E
split-complementary
#8E313A #318E57 #31688E
monochromatic
#331215 #612127 #8E313A #BB414D #CD6D76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E313A#FFFFFF#000000##FFFFFF
##8E313A1.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)
#48453A
Deuteranopia (green-blind)
#605838
Tritanopia (blue-blind)
#9B1F35
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e313a;
/* rgb */ color: rgb(142, 49, 58);
/* oklch */ color: oklch(45.1% 0.126 18.1);
Tailwind
colors: {
  custom: {
    50: '#b46e70',
    500: '#8e313a',
    950: '#000000',
  },
}
SCSS
$custom: #8e313a;
$custom-light: #b46e70;
$custom-dark: #000000;
JSON
{
  "hex": "#8e313a",
  "rgb": {
    "r": 142,
    "g": 49,
    "b": 58
  },
  "hsl": {
    "h": 354.194,
    "s": 48.691,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45093,
    "c": 0.12586,
    "h": 18.1
  },
  "luminance": 0.08253
}

Semantic roles & 50–950 ramp

primary
#8E313A
secondary
#67B4AD
accent
#D8CB50
background
#FBF6F6
surface
#F6ECEC
border
#D0C7C7
text
#120707
muted
#817A7A

Preview Lab

Preview with #8E313A

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

Preview Lab → · Contrast checker → · Palette generator →

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