#8E1A2C#8E1A2C

#8E1A2C is a dark, vivid red. Relative luminance 0.067; OKLCH L 42.4% C 0.150 H 18.7°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#8E1A2C
RGBrgb(142, 26, 44)
HSLhsl(351, 69%, 33%)
HSVhsv(351, 82%, 56%)
CMYKcmyk(0%, 81.7%, 69%, 44.3%)
CIE-LABlab(31.05, 47.89, 20.45)
CIE-LCHlch(31.05, 52.08, 23.12°)
OKLaboklab(42.43% 0.1419 0.0482)
OKLCHoklch(42.43% 0.15 18.7)
XYZxyz(11.9807, 6.6733, 3.0396)
Luminance0.0667 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1A2C #1A8E7C
analogous
#8E1A66 #8E1A2C #8E421A
triadic
#8E1A2C #2C8E1A #1A2C8E
tetradic
#8E1A2C #668E1A #1A8E7C #421A8E
square
#8E1A2C #668E1A #1A8E7C #421A8E
split-complementary
#8E1A2C #1A8E42 #1A668E
monochromatic
#27070C #5A111C #8E1A2C #C2233C #DD455D

Accessibility & contrast

On white

9.00
#8E1A2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1A2C
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1A2C#FFFFFF#000000##FFFFFF
##8E1A2C1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D392C
Deuteranopia (green-blind)
#5A5228
Tritanopia (blue-blind)
#9C0022
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8e1a2c;
/* rgb */ color: rgb(142, 26, 44);
/* oklch */ color: oklch(42.4% 0.150 18.7);
Tailwind
colors: {
  custom: {
    50: '#b66365',
    500: '#8e1a2c',
    950: '#000000',
  },
}
SCSS
$custom: #8e1a2c;
$custom-light: #b66365;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1a2c",
  "rgb": {
    "r": 142,
    "g": 26,
    "b": 44
  },
  "hsl": {
    "h": 350.69,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42432,
    "c": 0.14985,
    "h": 18.7
  },
  "luminance": 0.06671
}

Semantic roles & 50–950 ramp

primary
#8E1A2C
secondary
#45BEAC
accent
#ECD13C
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130605
muted
#827A7A

Preview Lab

Preview with #8E1A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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