#8E152F#8E152F

#8E152F is a dark, vivid red. Relative luminance 0.065; OKLCH L 42.1% C 0.154 H 16.2°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#8E152F
RGBrgb(142, 21, 47)
HSLhsl(347, 74%, 32%)
HSVhsv(347, 85%, 56%)
CMYKcmyk(0%, 85.2%, 66.9%, 44.3%)
CIE-LABlab(30.63, 49.42, 17.95)
CIE-LCHlch(30.63, 52.58, 19.96°)
OKLaboklab(42.14% 0.1475 0.0429)
OKLCHoklch(42.14% 0.154 16.2)
XYZxyz(11.9379, 6.4942, 3.3137)
Luminance0.0649 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E152F #158E74
analogous
#8E156C #8E152F #8E3715
triadic
#8E152F #2F8E15 #152F8E
tetradic
#8E152F #6C8E15 #158E74 #37158E
square
#8E152F #6C8E15 #158E74 #37158E
split-complementary
#8E152F #158E37 #156C8E
monochromatic
#23050C #590D1D #8E152F #C31D41 #E23B5F

Accessibility & contrast

On white

9.14
#8E152F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#8E152F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E152F
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E152F#FFFFFF#000000##FFFFFF
##8E152F1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B382F
Deuteranopia (green-blind)
#59512B
Tritanopia (blue-blind)
#9C0021
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8e152f;
/* rgb */ color: rgb(142, 21, 47);
/* oklch */ color: oklch(42.1% 0.154 16.2);
Tailwind
colors: {
  custom: {
    50: '#b66267',
    500: '#8e152f',
    950: '#000000',
  },
}
SCSS
$custom: #8e152f;
$custom-light: #b66267;
$custom-dark: #000000;
JSON
{
  "hex": "#8e152f",
  "rgb": {
    "r": 142,
    "g": 21,
    "b": 47
  },
  "hsl": {
    "h": 347.107,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42136,
    "c": 0.15362,
    "h": 16.2
  },
  "luminance": 0.06492
}

Semantic roles & 50–950 ramp

primary
#8E152F
secondary
#3DC2A5
accent
#F1C937
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130606
muted
#827A7A

Preview Lab

Preview with #8E152F

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

Preview Lab → · Contrast checker → · Palette generator →

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