#8E1529#8E1529

#8E1529 is a dark, vivid red. Relative luminance 0.064; OKLCH L 42.0% C 0.154 H 19.2°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#8E1529
RGBrgb(142, 21, 41)
HSLhsl(350, 74%, 32%)
HSVhsv(350, 85%, 56%)
CMYKcmyk(0%, 85.2%, 71.1%, 44.3%)
CIE-LABlab(30.52, 49.10, 21.74)
CIE-LCHlch(30.52, 53.70, 23.88°)
OKLaboklab(42.02% 0.1451 0.0506)
OKLCHoklch(42.02% 0.154 19.2)
XYZxyz(11.8251, 6.4491, 2.7196)
Luminance0.0645 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1529 #158E7A
analogous
#8E1565 #8E1529 #8E3E15
triadic
#8E1529 #298E15 #15298E
tetradic
#8E1529 #658E15 #158E7A #3E158E
square
#8E1529 #658E15 #158E7A #3E158E
split-complementary
#8E1529 #158E3E #15658E
monochromatic
#23050A #590D1A #8E1529 #C31D38 #E23B57

Accessibility & contrast

On white

9.17
#8E1529 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#8E1529 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1529
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1529#FFFFFF#000000##FFFFFF
##8E15291.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3829
Deuteranopia (green-blind)
#595125
Tritanopia (blue-blind)
#9D001E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8e1529;
/* rgb */ color: rgb(142, 21, 41);
/* oklch */ color: oklch(42.0% 0.154 19.2);
Tailwind
colors: {
  custom: {
    50: '#b76262',
    500: '#8e1529',
    950: '#000000',
  },
}
SCSS
$custom: #8e1529;
$custom-light: #b76262;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1529",
  "rgb": {
    "r": 142,
    "g": 21,
    "b": 41
  },
  "hsl": {
    "h": 350.083,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42022,
    "c": 0.15365,
    "h": 19.2
  },
  "luminance": 0.06447
}

Semantic roles & 50–950 ramp

primary
#8E1529
secondary
#3DC2AC
accent
#F1D237
background
#FCF6F5
surface
#F8EBEA
border
#D1C6C6
text
#130605
muted
#827A79

Preview Lab

Preview with #8E1529

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

Preview Lab → · Contrast checker → · Palette generator →

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