#8E1531#8E1531

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

Color values

HEX#8E1531
RGBrgb(142, 21, 49)
HSLhsl(346, 74%, 32%)
HSVhsv(346, 85%, 56%)
CMYKcmyk(0%, 85.2%, 65.5%, 44.3%)
CIE-LABlab(30.67, 49.54, 16.68)
CIE-LCHlch(30.67, 52.27, 18.61°)
OKLaboklab(42.18% 0.1483 0.0402)
OKLCHoklch(42.18% 0.154 15.2)
XYZxyz(11.9792, 6.5107, 3.5311)
Luminance0.0651 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1531 #158E72
analogous
#8E156E #8E1531 #8E3615
triadic
#8E1531 #318E15 #15318E
tetradic
#8E1531 #6E8E15 #158E72 #36158E
square
#8E1531 #6E8E15 #158E72 #36158E
split-complementary
#8E1531 #158E36 #156E8E
monochromatic
#23050C #590D1F #8E1531 #C31D43 #E23B62

Accessibility & contrast

On white

9.12
#8E1531 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1531
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1531#FFFFFF#000000##FFFFFF
##8E15311.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3831
Deuteranopia (green-blind)
#59512E
Tritanopia (blue-blind)
#9C0022
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8e1531;
/* rgb */ color: rgb(142, 21, 49);
/* oklch */ color: oklch(42.2% 0.154 15.2);
Tailwind
colors: {
  custom: {
    50: '#b66268',
    500: '#8e1531',
    950: '#000000',
  },
}
SCSS
$custom: #8e1531;
$custom-light: #b66268;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1531",
  "rgb": {
    "r": 142,
    "g": 21,
    "b": 49
  },
  "hsl": {
    "h": 346.116,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42178,
    "c": 0.15369,
    "h": 15.2
  },
  "luminance": 0.06509
}

Semantic roles & 50–950 ramp

primary
#8E1531
secondary
#3DC2A3
accent
#F1C637
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130606
muted
#827A7A

Preview Lab

Preview with #8E1531

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

Preview Lab → · Contrast checker → · Palette generator →

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