#8E313E#8E313E

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

Color values

HEX#8E313E
RGBrgb(142, 49, 62)
HSLhsl(352, 49%, 37%)
HSVhsv(352, 65%, 56%)
CMYKcmyk(0%, 65.5%, 56.3%, 44.3%)
CIE-LABlab(34.59, 40.36, 13.45)
CIE-LCHlch(34.59, 42.54, 18.43°)
OKLaboklab(45.18% 0.1213 0.0336)
OKLCHoklch(45.18% 0.126 15.5)
XYZxyz(13.1243, 8.2969, 5.4668)
Luminance0.0829 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E313E #318E81
analogous
#8E316C #8E313E #8E5331
triadic
#8E313E #3E8E31 #313E8E
tetradic
#8E313E #6C8E31 #318E81 #53318E
square
#8E313E #6C8E31 #318E81 #53318E
split-complementary
#8E313E #318E53 #316C8E
monochromatic
#331216 #61212A #8E313E #BB4152 #CD6D7A

Accessibility & contrast

On white

7.90
#8E313E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8E313E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E313E
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E313E#FFFFFF#000000##FFFFFF
##8E313E1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47453E
Deuteranopia (green-blind)
#5F583C
Tritanopia (blue-blind)
#9B2036
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e313e;
/* rgb */ color: rgb(142, 49, 62);
/* oklch */ color: oklch(45.2% 0.126 15.5);
Tailwind
colors: {
  custom: {
    50: '#b46e73',
    500: '#8e313e',
    950: '#000000',
  },
}
SCSS
$custom: #8e313e;
$custom-light: #b46e73;
$custom-dark: #000000;
JSON
{
  "hex": "#8e313e",
  "rgb": {
    "r": 142,
    "g": 49,
    "b": 62
  },
  "hsl": {
    "h": 351.613,
    "s": 48.691,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45185,
    "c": 0.12585,
    "h": 15.5
  },
  "luminance": 0.08295
}

Semantic roles & 50–950 ramp

primary
#8E313E
secondary
#67B4A9
accent
#D8C550
background
#FBF6F6
surface
#F6ECEC
border
#D0C7C7
text
#120708
muted
#817A7B

Preview Lab

Preview with #8E313E

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

Preview Lab → · Contrast checker → · Palette generator →

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