#8E1F28#8E1F28

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

Color values

HEX#8E1F28
RGBrgb(142, 31, 40)
HSLhsl(355, 64%, 34%)
HSVhsv(355, 78%, 56%)
CMYKcmyk(0%, 78.2%, 71.8%, 44.3%)
CIE-LABlab(31.55, 46.10, 23.63)
CIE-LCHlch(31.55, 51.81, 27.14°)
OKLaboklab(42.78% 0.1353 0.0546)
OKLCHoklch(42.78% 0.146 22)
XYZxyz(12.0297, 6.8858, 2.7027)
Luminance0.0688 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1F28 #1F8E85
analogous
#8E1F60 #8E1F28 #8E4E1F
triadic
#8E1F28 #288E1F #1F288E
tetradic
#8E1F28 #608E1F #1F8E85 #4E1F8E
square
#8E1F28 #608E1F #1F8E85 #4E1F8E
split-complementary
#8E1F28 #1F8E4E #1F608E
monochromatic
#2A090C #5C141A #8E1F28 #C02A36 #D94F5A

Accessibility & contrast

On white

8.84
#8E1F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1F28
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1F28#FFFFFF#000000##FFFFFF
##8E1F281.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403B27
Deuteranopia (green-blind)
#5C5324
Tritanopia (blue-blind)
#9C0023
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e1f28;
/* rgb */ color: rgb(142, 31, 40);
/* oklch */ color: oklch(42.8% 0.146 22.0);
Tailwind
colors: {
  custom: {
    50: '#b76562',
    500: '#8e1f28',
    950: '#000000',
  },
}
SCSS
$custom: #8e1f28;
$custom-light: #b76562;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1f28",
  "rgb": {
    "r": 142,
    "g": 31,
    "b": 40
  },
  "hsl": {
    "h": 355.135,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42777,
    "c": 0.14587,
    "h": 22
  },
  "luminance": 0.06884
}

Semantic roles & 50–950 ramp

primary
#8E1F28
secondary
#4DBBB3
accent
#E7DA41
background
#FCF6F5
surface
#F8EBEA
border
#D1C6C6
text
#130605
muted
#827A79

Preview Lab

Preview with #8E1F28

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

Preview Lab → · Contrast checker → · Palette generator →

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