#8E1A37#8E1A37

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

Color values

HEX#8E1A37
RGBrgb(142, 26, 55)
HSLhsl(345, 69%, 33%)
HSVhsv(345, 82%, 56%)
CMYKcmyk(0%, 81.7%, 61.3%, 44.3%)
CIE-LABlab(31.27, 48.57, 13.52)
CIE-LCHlch(31.27, 50.42, 15.55°)
OKLaboklab(42.67% 0.1464 0.0333)
OKLCHoklch(42.67% 0.15 12.8)
XYZxyz(12.2156, 6.7672, 4.2767)
Luminance0.0677 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1A37 #1A8E71
analogous
#8E1A71 #8E1A37 #8E371A
triadic
#8E1A37 #378E1A #1A378E
tetradic
#8E1A37 #718E1A #1A8E71 #371A8E
square
#8E1A37 #718E1A #1A8E71 #371A8E
split-complementary
#8E1A37 #1A8E37 #1A718E
monochromatic
#27070F #5A1123 #8E1A37 #C2234B #DD456B

Accessibility & contrast

On white

8.92
#8E1A37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#8E1A37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1A37
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1A37#FFFFFF#000000##FFFFFF
##8E1A371.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3A37
Deuteranopia (green-blind)
#595234
Tritanopia (blue-blind)
#9C0027
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e1a37;
/* rgb */ color: rgb(142, 26, 55);
/* oklch */ color: oklch(42.7% 0.150 12.8);
Tailwind
colors: {
  custom: {
    50: '#b6646d',
    500: '#8e1a37',
    950: '#000000',
  },
}
SCSS
$custom: #8e1a37;
$custom-light: #b6646d;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1a37",
  "rgb": {
    "r": 142,
    "g": 26,
    "b": 55
  },
  "hsl": {
    "h": 345,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42666,
    "c": 0.15018,
    "h": 12.8
  },
  "luminance": 0.06765
}

Semantic roles & 50–950 ramp

primary
#8E1A37
secondary
#45BEA0
accent
#ECC03C
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #8E1A37

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

Preview Lab → · Contrast checker → · Palette generator →

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