#8E1931#8E1931

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

Color values

HEX#8E1931
RGBrgb(142, 25, 49)
HSLhsl(348, 70%, 33%)
HSVhsv(348, 82%, 56%)
CMYKcmyk(0%, 82.4%, 65.5%, 44.3%)
CIE-LABlab(31.04, 48.47, 17.17)
CIE-LCHlch(31.04, 51.42, 19.51°)
OKLaboklab(42.46% 0.1449 0.0413)
OKLCHoklch(42.46% 0.151 15.9)
XYZxyz(12.0586, 6.6696, 3.5576)
Luminance0.0667 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1931 #198E76
analogous
#8E196C #8E1931 #8E3B19
triadic
#8E1931 #318E19 #19318E
tetradic
#8E1931 #6C8E19 #198E76 #3B198E
square
#8E1931 #6C8E19 #198E76 #3B198E
split-complementary
#8E1931 #198E3B #196C8E
monochromatic
#26070D #5A101F #8E1931 #C22243 #DE4363

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E1931#FFFFFF#000000##FFFFFF
##8E19311.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)
#3C3A31
Deuteranopia (green-blind)
#59522E
Tritanopia (blue-blind)
#9C0024
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8e1931;
/* rgb */ color: rgb(142, 25, 49);
/* oklch */ color: oklch(42.5% 0.151 15.9);
Tailwind
colors: {
  custom: {
    50: '#b66368',
    500: '#8e1931',
    950: '#000000',
  },
}
SCSS
$custom: #8e1931;
$custom-light: #b66368;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1931",
  "rgb": {
    "r": 142,
    "g": 25,
    "b": 49
  },
  "hsl": {
    "h": 347.692,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42456,
    "c": 0.15066,
    "h": 15.9
  },
  "luminance": 0.06668
}

Semantic roles & 50–950 ramp

primary
#8E1931
secondary
#44BFA6
accent
#EDC83B
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130606
muted
#827A7A

Preview Lab

Preview with #8E1931

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

Preview Lab → · Contrast checker → · Palette generator →

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