#8E1539#8E1539

#8E1539 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.4% C 0.154 H 10.8°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#8E1539
RGBrgb(142, 21, 57)
HSLhsl(342, 74%, 32%)
HSVhsv(342, 85%, 56%)
CMYKcmyk(0%, 85.2%, 59.9%, 44.3%)
CIE-LABlab(30.84, 50.06, 11.61)
CIE-LCHlch(30.84, 51.39, 13.06°)
OKLaboklab(42.36% 0.1516 0.0289)
OKLCHoklch(42.36% 0.154 10.8)
XYZxyz(12.1633, 6.5844, 4.5005)
Luminance0.0658 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1539 #158E6A
analogous
#8E1576 #8E1539 #8E2E15
triadic
#8E1539 #398E15 #15398E
tetradic
#8E1539 #768E15 #158E6A #2E158E
square
#8E1539 #768E15 #158E6A #2E158E
split-complementary
#8E1539 #158E2E #15768E
monochromatic
#23050E #590D24 #8E1539 #C31D4E #E23B6D

Accessibility & contrast

On white

9.07
#8E1539 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1539
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1539#FFFFFF#000000##FFFFFF
##8E15391.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39393A
Deuteranopia (green-blind)
#585136
Tritanopia (blue-blind)
#9C0025
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8e1539;
/* rgb */ color: rgb(142, 21, 57);
/* oklch */ color: oklch(42.4% 0.154 10.8);
Tailwind
colors: {
  custom: {
    50: '#b6626f',
    500: '#8e1539',
    950: '#000000',
  },
}
SCSS
$custom: #8e1539;
$custom-light: #b6626f;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1539",
  "rgb": {
    "r": 142,
    "g": 21,
    "b": 57
  },
  "hsl": {
    "h": 342.149,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42364,
    "c": 0.15436,
    "h": 10.8
  },
  "luminance": 0.06583
}

Semantic roles & 50–950 ramp

primary
#8E1539
secondary
#3DC29A
accent
#F1BA37
background
#FCF6F6
surface
#F8EBEC
border
#D1C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #8E1539

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

Preview Lab → · Contrast checker → · Palette generator →

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