#8E1F33#8E1F33

#8E1F33 is a dark, vivid red. Relative luminance 0.070; OKLCH L 43.0% C 0.145 H 16.2°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#8E1F33
RGBrgb(142, 31, 51)
HSLhsl(349, 64%, 34%)
HSVhsv(349, 78%, 56%)
CMYKcmyk(0%, 78.2%, 64.1%, 44.3%)
CIE-LABlab(31.74, 46.74, 16.77)
CIE-LCHlch(31.74, 49.65, 19.74°)
OKLaboklab(42.99% 0.1397 0.0406)
OKLCHoklch(42.99% 0.146 16.2)
XYZxyz(12.2441, 6.9716, 3.8323)
Luminance0.0697 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1F33 #1F8E7A
analogous
#8E1F6B #8E1F33 #8E431F
triadic
#8E1F33 #338E1F #1F338E
tetradic
#8E1F33 #6B8E1F #1F8E7A #431F8E
square
#8E1F33 #6B8E1F #1F8E7A #431F8E
split-complementary
#8E1F33 #1F8E43 #1F6B8E
monochromatic
#2A090F #5C1421 #8E1F33 #C02A45 #D94F68

Accessibility & contrast

On white

8.77
#8E1F33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#8E1F33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1F33
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1F33#FFFFFF#000000##FFFFFF
##8E1F331.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3C33
Deuteranopia (green-blind)
#5B5330
Tritanopia (blue-blind)
#9C0028
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8e1f33;
/* rgb */ color: rgb(142, 31, 51);
/* oklch */ color: oklch(43.0% 0.145 16.2);
Tailwind
colors: {
  custom: {
    50: '#b6656a',
    500: '#8e1f33',
    950: '#000000',
  },
}
SCSS
$custom: #8e1f33;
$custom-light: #b6656a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1f33",
  "rgb": {
    "r": 142,
    "g": 31,
    "b": 51
  },
  "hsl": {
    "h": 349.189,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42987,
    "c": 0.1455,
    "h": 16.2
  },
  "luminance": 0.0697
}

Semantic roles & 50–950 ramp

primary
#8E1F33
secondary
#4DBBA8
accent
#E7C941
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #8E1F33

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

Preview Lab → · Contrast checker → · Palette generator →

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