#8E1528#8E1528

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

Color values

HEX#8E1528
RGBrgb(142, 21, 40)
HSLhsl(351, 74%, 32%)
HSVhsv(351, 85%, 56%)
CMYKcmyk(0%, 85.2%, 71.8%, 44.3%)
CIE-LABlab(30.50, 49.05, 22.37)
CIE-LCHlch(30.50, 53.91, 24.52°)
OKLaboklab(42% 0.1447 0.0518)
OKLCHoklch(42% 0.154 19.7)
XYZxyz(11.8079, 6.4422, 2.6288)
Luminance0.0644 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1528 #158E7B
analogous
#8E1564 #8E1528 #8E3F15
triadic
#8E1528 #288E15 #15288E
tetradic
#8E1528 #648E15 #158E7B #3F158E
square
#8E1528 #648E15 #158E7B #3F158E
split-complementary
#8E1528 #158E3F #15648E
monochromatic
#23050A #590D19 #8E1528 #C31D37 #E23B56

Accessibility & contrast

On white

9.18
#8E1528 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1528
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1528#FFFFFF#000000##FFFFFF
##8E15281.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e1528;
/* rgb */ color: rgb(142, 21, 40);
/* oklch */ color: oklch(42.0% 0.154 19.7);
Tailwind
colors: {
  custom: {
    50: '#b76161',
    500: '#8e1528',
    950: '#000000',
  },
}
SCSS
$custom: #8e1528;
$custom-light: #b76161;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1528",
  "rgb": {
    "r": 142,
    "g": 21,
    "b": 40
  },
  "hsl": {
    "h": 350.579,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42004,
    "c": 0.15368,
    "h": 19.7
  },
  "luminance": 0.0644
}

Semantic roles & 50–950 ramp

primary
#8E1528
secondary
#3DC2AD
accent
#F1D437
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130605
muted
#827A79

Preview Lab

Preview with #8E1528

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

Preview Lab → · Contrast checker → · Palette generator →

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