#8E1837#8E1837

#8E1837 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.5% C 0.152 H 12.4°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#8E1837
RGBrgb(142, 24, 55)
HSLhsl(344, 71%, 33%)
HSVhsv(344, 83%, 56%)
CMYKcmyk(0%, 83.1%, 61.3%, 44.3%)
CIE-LABlab(31.07, 49.14, 13.25)
CIE-LCHlch(31.07, 50.89, 15.09°)
OKLaboklab(42.52% 0.1483 0.0327)
OKLCHoklch(42.52% 0.152 12.4)
XYZxyz(12.1728, 6.6817, 4.2624)
Luminance0.0668 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1837 #188E6F
analogous
#8E1872 #8E1837 #8E3418
triadic
#8E1837 #378E18 #18378E
tetradic
#8E1837 #728E18 #188E6F #34188E
square
#8E1837 #728E18 #188E6F #34188E
split-complementary
#8E1837 #188E34 #18728E
monochromatic
#25060E #5A0F23 #8E1837 #C2214B #DF416B

Accessibility & contrast

On white

8.99
#8E1837 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#8E1837 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1837
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1837#FFFFFF#000000##FFFFFF
##8E18371.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3A37
Deuteranopia (green-blind)
#585234
Tritanopia (blue-blind)
#9C0026
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8e1837;
/* rgb */ color: rgb(142, 24, 55);
/* oklch */ color: oklch(42.5% 0.152 12.4);
Tailwind
colors: {
  custom: {
    50: '#b6636d',
    500: '#8e1837',
    950: '#000000',
  },
}
SCSS
$custom: #8e1837;
$custom-light: #b6636d;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1837",
  "rgb": {
    "r": 142,
    "g": 24,
    "b": 55
  },
  "hsl": {
    "h": 344.237,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42518,
    "c": 0.15182,
    "h": 12.4
  },
  "luminance": 0.0668
}

Semantic roles & 50–950 ramp

primary
#8E1837
secondary
#42C09F
accent
#EEBF3A
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #8E1837

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

Preview Lab → · Contrast checker → · Palette generator →

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