#8E1D2F#8E1D2F

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

Color values

HEX#8E1D2F
RGBrgb(142, 29, 47)
HSLhsl(350, 66%, 34%)
HSVhsv(350, 80%, 56%)
CMYKcmyk(0%, 79.6%, 66.9%, 44.3%)
CIE-LABlab(31.43, 47.14, 18.98)
CIE-LCHlch(31.43, 50.82, 21.93°)
OKLaboklab(42.73% 0.1402 0.0452)
OKLCHoklch(42.73% 0.147 17.9)
XYZxyz(12.1091, 6.8366, 3.3708)
Luminance0.0683 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1D2F #1D8E7C
analogous
#8E1D67 #8E1D2F #8E431D
triadic
#8E1D2F #2F8E1D #1D2F8E
tetradic
#8E1D2F #678E1D #1D8E7C #431D8E
square
#8E1D2F #678E1D #1D8E7C #431D8E
split-complementary
#8E1D2F #1D8E43 #1D678E
monochromatic
#28080D #5B131E #8E1D2F #C12740 #DA4B62

Accessibility & contrast

On white

8.87
#8E1D2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1D2F
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1D2F#FFFFFF#000000##FFFFFF
##8E1D2F1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3B2F
Deuteranopia (green-blind)
#5B522C
Tritanopia (blue-blind)
#9C0025
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e1d2f;
/* rgb */ color: rgb(142, 29, 47);
/* oklch */ color: oklch(42.7% 0.147 17.9);
Tailwind
colors: {
  custom: {
    50: '#b66467',
    500: '#8e1d2f',
    950: '#000000',
  },
}
SCSS
$custom: #8e1d2f;
$custom-light: #b66467;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1d2f",
  "rgb": {
    "r": 142,
    "g": 29,
    "b": 47
  },
  "hsl": {
    "h": 350.442,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42732,
    "c": 0.14729,
    "h": 17.9
  },
  "luminance": 0.06835
}

Semantic roles & 50–950 ramp

primary
#8E1D2F
secondary
#4ABDAA
accent
#E9CE3F
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130606
muted
#827A7A

Preview Lab

Preview with #8E1D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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