#8E1839#8E1839

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

Color values

HEX#8E1839
RGBrgb(142, 24, 57)
HSLhsl(343, 71%, 33%)
HSVhsv(343, 83%, 56%)
CMYKcmyk(0%, 83.1%, 59.9%, 44.3%)
CIE-LABlab(31.12, 49.28, 11.99)
CIE-LCHlch(31.12, 50.71, 13.67°)
OKLaboklab(42.57% 0.1491 0.0298)
OKLCHoklch(42.57% 0.152 11.3)
XYZxyz(12.2217, 6.7013, 4.5200)
Luminance0.0670 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1839 #188E6D
analogous
#8E1874 #8E1839 #8E3218
triadic
#8E1839 #398E18 #18398E
tetradic
#8E1839 #748E18 #188E6D #32188E
square
#8E1839 #748E18 #188E6D #32188E
split-complementary
#8E1839 #188E32 #18748E
monochromatic
#25060F #5A0F24 #8E1839 #C2214E #DF416D

Accessibility & contrast

On white

8.98
#8E1839 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1839
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1839#FFFFFF#000000##FFFFFF
##8E18391.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3A39
Deuteranopia (green-blind)
#585236
Tritanopia (blue-blind)
#9C0027
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8e1839;
/* rgb */ color: rgb(142, 24, 57);
/* oklch */ color: oklch(42.6% 0.152 11.3);
Tailwind
colors: {
  custom: {
    50: '#b6636f',
    500: '#8e1839',
    950: '#000000',
  },
}
SCSS
$custom: #8e1839;
$custom-light: #b6636f;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1839",
  "rgb": {
    "r": 142,
    "g": 24,
    "b": 57
  },
  "hsl": {
    "h": 343.22,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42567,
    "c": 0.15203,
    "h": 11.3
  },
  "luminance": 0.06699
}

Semantic roles & 50–950 ramp

primary
#8E1839
secondary
#42C09D
accent
#EEBC3A
background
#FBF6F6
surface
#F7EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #8E1839

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

Preview Lab → · Contrast checker → · Palette generator →

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