#8E1533#8E1533

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

Color values

HEX#8E1533
RGBrgb(142, 21, 51)
HSLhsl(345, 74%, 32%)
HSVhsv(345, 85%, 56%)
CMYKcmyk(0%, 85.2%, 64.1%, 44.3%)
CIE-LABlab(30.71, 49.66, 15.41)
CIE-LCHlch(30.71, 52.00, 17.24°)
OKLaboklab(42.22% 0.1492 0.0375)
OKLCHoklch(42.22% 0.154 14.1)
XYZxyz(12.0223, 6.5280, 3.7583)
Luminance0.0653 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1533 #158E70
analogous
#8E1570 #8E1533 #8E3415
triadic
#8E1533 #338E15 #15338E
tetradic
#8E1533 #708E15 #158E70 #34158E
square
#8E1533 #708E15 #158E70 #34158E
split-complementary
#8E1533 #158E34 #15708E
monochromatic
#23050D #590D20 #8E1533 #C31D46 #E23B65

Accessibility & contrast

On white

9.11
#8E1533 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#8E1533 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1533
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1533#FFFFFF#000000##FFFFFF
##8E15331.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3833
Deuteranopia (green-blind)
#585130
Tritanopia (blue-blind)
#9C0023
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8e1533;
/* rgb */ color: rgb(142, 21, 51);
/* oklch */ color: oklch(42.2% 0.154 14.1);
Tailwind
colors: {
  custom: {
    50: '#b6626a',
    500: '#8e1533',
    950: '#000000',
  },
}
SCSS
$custom: #8e1533;
$custom-light: #b6626a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1533",
  "rgb": {
    "r": 142,
    "g": 21,
    "b": 51
  },
  "hsl": {
    "h": 345.124,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42222,
    "c": 0.15379,
    "h": 14.1
  },
  "luminance": 0.06526
}

Semantic roles & 50–950 ramp

primary
#8E1533
secondary
#3DC2A1
accent
#F1C337
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130606
muted
#827A7A

Preview Lab

Preview with #8E1533

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

Preview Lab → · Contrast checker → · Palette generator →

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