#8E1733#8E1733

#8E1733 is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.4% C 0.152 H 14.4°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#8E1733
RGBrgb(142, 23, 51)
HSLhsl(346, 72%, 32%)
HSVhsv(346, 84%, 56%)
CMYKcmyk(0%, 83.8%, 64.1%, 44.3%)
CIE-LABlab(30.89, 49.15, 15.65)
CIE-LCHlch(30.89, 51.58, 17.66°)
OKLaboklab(42.36% 0.1475 0.038)
OKLCHoklch(42.36% 0.152 14.4)
XYZxyz(12.0606, 6.6044, 3.7711)
Luminance0.0660 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1733 #178E72
analogous
#8E176F #8E1733 #8E3617
triadic
#8E1733 #338E17 #17338E
tetradic
#8E1733 #6F8E17 #178E72 #36178E
square
#8E1733 #6F8E17 #178E72 #36178E
split-complementary
#8E1733 #178E36 #176F8E
monochromatic
#25060D #590E20 #8E1733 #C32046 #E03F65

Accessibility & contrast

On white

9.05
#8E1733 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#8E1733 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1733
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1733#FFFFFF#000000##FFFFFF
##8E17331.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3933
Deuteranopia (green-blind)
#595130
Tritanopia (blue-blind)
#9C0024
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8e1733;
/* rgb */ color: rgb(142, 23, 51);
/* oklch */ color: oklch(42.4% 0.152 14.4);
Tailwind
colors: {
  custom: {
    50: '#b6626a',
    500: '#8e1733',
    950: '#000000',
  },
}
SCSS
$custom: #8e1733;
$custom-light: #b6626a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1733",
  "rgb": {
    "r": 142,
    "g": 23,
    "b": 51
  },
  "hsl": {
    "h": 345.882,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42356,
    "c": 0.15231,
    "h": 14.4
  },
  "luminance": 0.06603
}

Semantic roles & 50–950 ramp

primary
#8E1733
secondary
#40C0A2
accent
#EFC439
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130606
muted
#827A7A

Preview Lab

Preview with #8E1733

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

Preview Lab → · Contrast checker → · Palette generator →

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