#8E1E27#8E1E27

#8E1E27 is a dark, vivid red. Relative luminance 0.068; OKLCH L 42.7% C 0.147 H 22.2°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#8E1E27
RGBrgb(142, 30, 39)
HSLhsl(355, 65%, 34%)
HSVhsv(355, 79%, 56%)
CMYKcmyk(0%, 78.9%, 72.5%, 44.3%)
CIE-LABlab(31.41, 46.38, 24.11)
CIE-LCHlch(31.41, 52.28, 27.46°)
OKLaboklab(42.67% 0.1359 0.0555)
OKLCHoklch(42.67% 0.147 22.2)
XYZxyz(11.9872, 6.8277, 2.6058)
Luminance0.0683 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1E27 #1E8E85
analogous
#8E1E5F #8E1E27 #8E4D1E
triadic
#8E1E27 #278E1E #1E278E
tetradic
#8E1E27 #5F8E1E #1E8E85 #4D1E8E
square
#8E1E27 #5F8E1E #1E8E85 #4D1E8E
split-complementary
#8E1E27 #1E8E4D #1E5F8E
monochromatic
#29090B #5B1319 #8E1E27 #C12935 #D94D58

Accessibility & contrast

On white

8.88
#8E1E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#8E1E27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1E27
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1E27#FFFFFF#000000##FFFFFF
##8E1E271.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403B26
Deuteranopia (green-blind)
#5C5323
Tritanopia (blue-blind)
#9D0023
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e1e27;
/* rgb */ color: rgb(142, 30, 39);
/* oklch */ color: oklch(42.7% 0.147 22.2);
Tailwind
colors: {
  custom: {
    50: '#b76561',
    500: '#8e1e27',
    950: '#000000',
  },
}
SCSS
$custom: #8e1e27;
$custom-light: #b76561;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1e27",
  "rgb": {
    "r": 142,
    "g": 30,
    "b": 39
  },
  "hsl": {
    "h": 355.179,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42673,
    "c": 0.14682,
    "h": 22.2
  },
  "luminance": 0.06826
}

Semantic roles & 50–950 ramp

primary
#8E1E27
secondary
#4CBCB3
accent
#E8DB40
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130605
muted
#827A79

Preview Lab

Preview with #8E1E27

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

Preview Lab → · Contrast checker → · Palette generator →

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