#8E1A27#8E1A27

#8E1A27 is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.3% C 0.150 H 21.2°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#8E1A27
RGBrgb(142, 26, 39)
HSLhsl(353, 69%, 33%)
HSVhsv(353, 82%, 56%)
CMYKcmyk(0%, 81.7%, 72.5%, 44.3%)
CIE-LABlab(30.97, 47.63, 23.58)
CIE-LCHlch(30.97, 53.15, 26.34°)
OKLaboklab(42.34% 0.1399 0.0543)
OKLCHoklch(42.34% 0.15 21.2)
XYZxyz(11.8923, 6.6379, 2.5741)
Luminance0.0664 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1A27 #1A8E81
analogous
#8E1A61 #8E1A27 #8E471A
triadic
#8E1A27 #278E1A #1A278E
tetradic
#8E1A27 #618E1A #1A8E81 #471A8E
square
#8E1A27 #618E1A #1A8E81 #471A8E
split-complementary
#8E1A27 #1A8E47 #1A618E
monochromatic
#27070B #5A1119 #8E1A27 #C22335 #DD4556

Accessibility & contrast

On white

9.02
#8E1A27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#8E1A27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1A27
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1A27#FFFFFF#000000##FFFFFF
##8E1A271.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3926
Deuteranopia (green-blind)
#5B5223
Tritanopia (blue-blind)
#9D0020
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8e1a27;
/* rgb */ color: rgb(142, 26, 39);
/* oklch */ color: oklch(42.3% 0.150 21.2);
Tailwind
colors: {
  custom: {
    50: '#b76361',
    500: '#8e1a27',
    950: '#000000',
  },
}
SCSS
$custom: #8e1a27;
$custom-light: #b76361;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1a27",
  "rgb": {
    "r": 142,
    "g": 26,
    "b": 39
  },
  "hsl": {
    "h": 353.276,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42344,
    "c": 0.15008,
    "h": 21.2
  },
  "luminance": 0.06636
}

Semantic roles & 50–950 ramp

primary
#8E1A27
secondary
#45BEB1
accent
#ECD83C
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130605
muted
#827A79

Preview Lab

Preview with #8E1A27

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

Preview Lab → · Contrast checker → · Palette generator →

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