#8E1F2D#8E1F2D

#8E1F2D is a dark, vivid red. Relative luminance 0.069; OKLCH L 42.9% C 0.146 H 19.4°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#8E1F2D
RGBrgb(142, 31, 45)
HSLhsl(352, 64%, 34%)
HSVhsv(352, 78%, 56%)
CMYKcmyk(0%, 78.2%, 68.3%, 44.3%)
CIE-LABlab(31.63, 46.37, 20.53)
CIE-LCHlch(31.63, 50.71, 23.88°)
OKLaboklab(42.87% 0.1373 0.0485)
OKLCHoklch(42.87% 0.146 19.4)
XYZxyz(12.1203, 6.9221, 3.1800)
Luminance0.0692 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1F2D #1F8E80
analogous
#8E1F65 #8E1F2D #8E491F
triadic
#8E1F2D #2D8E1F #1F2D8E
tetradic
#8E1F2D #658E1F #1F8E80 #491F8E
square
#8E1F2D #658E1F #1F8E80 #491F8E
split-complementary
#8E1F2D #1F8E49 #1F658E
monochromatic
#2A090D #5C141D #8E1F2D #C02A3D #D94F60

Accessibility & contrast

On white

8.81
#8E1F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#8E1F2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1F2D
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1F2D#FFFFFF#000000##FFFFFF
##8E1F2D1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e1f2d;
/* rgb */ color: rgb(142, 31, 45);
/* oklch */ color: oklch(42.9% 0.146 19.4);
Tailwind
colors: {
  custom: {
    50: '#b66565',
    500: '#8e1f2d',
    950: '#000000',
  },
}
SCSS
$custom: #8e1f2d;
$custom-light: #b66565;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1f2d",
  "rgb": {
    "r": 142,
    "g": 31,
    "b": 45
  },
  "hsl": {
    "h": 352.432,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42866,
    "c": 0.14557,
    "h": 19.4
  },
  "luminance": 0.0692
}

Semantic roles & 50–950 ramp

primary
#8E1F2D
secondary
#4DBBAE
accent
#E7D241
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130605
muted
#827A7A

Preview Lab

Preview with #8E1F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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