#8E1331#8E1331

#8E1331 is a dark, vivid red. Relative luminance 0.064; OKLCH L 42.1% C 0.155 H 14.8°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#8E1331
RGBrgb(142, 19, 49)
HSLhsl(345, 76%, 32%)
HSVhsv(345, 87%, 56%)
CMYKcmyk(0%, 86.6%, 65.5%, 44.3%)
CIE-LABlab(30.50, 50.02, 16.46)
CIE-LCHlch(30.50, 52.66, 18.21°)
OKLaboklab(42.05% 0.1499 0.0397)
OKLCHoklch(42.05% 0.155 14.8)
XYZxyz(11.9439, 6.4401, 3.5193)
Luminance0.0644 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1331 #138E70
analogous
#8E136F #8E1331 #8E3313
triadic
#8E1331 #318E13 #13318E
tetradic
#8E1331 #6F8E13 #138E70 #33138E
square
#8E1331 #6F8E13 #138E70 #33138E
split-complementary
#8E1331 #138E33 #136F8E
monochromatic
#22050C #580C1E #8E1331 #C41A44 #E43761

Accessibility & contrast

On white

9.18
#8E1331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#8E1331 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1331
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1331#FFFFFF#000000##FFFFFF
##8E13311.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3831
Deuteranopia (green-blind)
#58512E
Tritanopia (blue-blind)
#9C0021
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8e1331;
/* rgb */ color: rgb(142, 19, 49);
/* oklch */ color: oklch(42.1% 0.155 14.8);
Tailwind
colors: {
  custom: {
    50: '#b66168',
    500: '#8e1331',
    950: '#000000',
  },
}
SCSS
$custom: #8e1331;
$custom-light: #b66168;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1331",
  "rgb": {
    "r": 142,
    "g": 19,
    "b": 49
  },
  "hsl": {
    "h": 345.366,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42053,
    "c": 0.15506,
    "h": 14.8
  },
  "luminance": 0.06438
}

Semantic roles & 50–950 ramp

primary
#8E1331
secondary
#3BC2A1
accent
#F3C535
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130606
muted
#827A7A

Preview Lab

Preview with #8E1331

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

Preview Lab → · Contrast checker → · Palette generator →

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