#8E313F#8E313F

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

Color values

HEX#8E313F
RGBrgb(142, 49, 63)
HSLhsl(351, 49%, 37%)
HSVhsv(351, 65%, 56%)
CMYKcmyk(0%, 65.5%, 55.6%, 44.3%)
CIE-LABlab(34.62, 40.44, 12.84)
CIE-LCHlch(34.62, 42.43, 17.61°)
OKLaboklab(45.21% 0.1217 0.0321)
OKLCHoklch(45.21% 0.126 14.8)
XYZxyz(13.1520, 8.3080, 5.6127)
Luminance0.0831 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E313F #318E80
analogous
#8E316D #8E313F #8E5231
triadic
#8E313F #3F8E31 #313F8E
tetradic
#8E313F #6D8E31 #318E80 #52318E
square
#8E313F #6D8E31 #318E80 #52318E
split-complementary
#8E313F #318E52 #316D8E
monochromatic
#331217 #61212B #8E313F #BB4153 #CD6D7B

Accessibility & contrast

On white

7.89
#8E313F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E313F
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E313F#FFFFFF#000000##FFFFFF
##8E313F1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47453F
Deuteranopia (green-blind)
#5F593D
Tritanopia (blue-blind)
#9B2037
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e313f;
/* rgb */ color: rgb(142, 49, 63);
/* oklch */ color: oklch(45.2% 0.126 14.8);
Tailwind
colors: {
  custom: {
    50: '#b46e73',
    500: '#8e313f',
    950: '#000000',
  },
}
SCSS
$custom: #8e313f;
$custom-light: #b46e73;
$custom-dark: #000000;
JSON
{
  "hex": "#8e313f",
  "rgb": {
    "r": 142,
    "g": 49,
    "b": 63
  },
  "hsl": {
    "h": 350.968,
    "s": 48.691,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45209,
    "c": 0.12589,
    "h": 14.8
  },
  "luminance": 0.08306
}

Semantic roles & 50–950 ramp

primary
#8E313F
secondary
#67B4A8
accent
#D8C450
background
#FBF6F7
surface
#F6ECED
border
#D0C7C8
text
#120708
muted
#817A7B

Preview Lab

Preview with #8E313F

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

Preview Lab → · Contrast checker → · Palette generator →

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