#8E1F27#8E1F27

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

Color values

HEX#8E1F27
RGBrgb(142, 31, 39)
HSLhsl(356, 64%, 34%)
HSVhsv(356, 78%, 56%)
CMYKcmyk(0%, 78.2%, 72.5%, 44.3%)
CIE-LABlab(31.53, 46.05, 24.25)
CIE-LCHlch(31.53, 52.05, 27.77°)
OKLaboklab(42.76% 0.1349 0.0558)
OKLCHoklch(42.76% 0.146 22.5)
XYZxyz(12.0129, 6.8791, 2.6143)
Luminance0.0688 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1F27 #1F8E86
analogous
#8E1F5F #8E1F27 #8E4F1F
triadic
#8E1F27 #278E1F #1F278E
tetradic
#8E1F27 #5F8E1F #1F8E86 #4F1F8E
square
#8E1F27 #5F8E1F #1F8E86 #4F1F8E
split-complementary
#8E1F27 #1F8E4F #1F5F8E
monochromatic
#2A090B #5C1419 #8E1F27 #C02A35 #D94F59

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E1F27#FFFFFF#000000##FFFFFF
##8E1F271.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)
#403B26
Deuteranopia (green-blind)
#5C5323
Tritanopia (blue-blind)
#9D0023
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e1f27;
/* rgb */ color: rgb(142, 31, 39);
/* oklch */ color: oklch(42.8% 0.146 22.5);
Tailwind
colors: {
  custom: {
    50: '#b76561',
    500: '#8e1f27',
    950: '#000000',
  },
}
SCSS
$custom: #8e1f27;
$custom-light: #b76561;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1f27",
  "rgb": {
    "r": 142,
    "g": 31,
    "b": 39
  },
  "hsl": {
    "h": 355.676,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42761,
    "c": 0.14595,
    "h": 22.5
  },
  "luminance": 0.06877
}

Semantic roles & 50–950 ramp

primary
#8E1F27
secondary
#4DBBB4
accent
#E7DB41
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130605
muted
#827A79

Preview Lab

Preview with #8E1F27

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

Preview Lab → · Contrast checker → · Palette generator →

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