#8E1B57#8E1B57

#8E1B57 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.7% C 0.158 H 354.4°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#8E1B57
RGBrgb(142, 27, 87)
HSLhsl(329, 68%, 33%)
HSVhsv(329, 81%, 56%)
CMYKcmyk(0%, 81%, 38.7%, 44.3%)
CIE-LABlab(32.31, 51.13, -6.06)
CIE-LCHlch(32.31, 51.49, 353.24°)
OKLaboklab(43.74% 0.1572 -0.0154)
OKLCHoklch(43.74% 0.158 354.4)
XYZxyz(13.2685, 7.2245, 9.7107)
Luminance0.0722 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1B57 #1B8E52
analogous
#8B1B8E #8E1B57 #8E1B1D
triadic
#8E1B57 #578E1B #1B578E
tetradic
#8E1B57 #8E8B1B #1B8E52 #1B1D8E
square
#8E1B57 #8E8B1B #1B8E52 #1B1D8E
split-complementary
#8E1B57 #1D8E1B #1B8E8B
monochromatic
#270718 #5B1137 #8E1B57 #C12577 #DC4795

Accessibility & contrast

On white

8.59
#8E1B57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#8E1B57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1B57
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1B57#FFFFFF#000000##FFFFFF
##8E1B571.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333F58
Deuteranopia (green-blind)
#535454
Tritanopia (blue-blind)
#9A0A37
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8e1b57;
/* rgb */ color: rgb(142, 27, 87);
/* oklch */ color: oklch(43.7% 0.158 354.4);
Tailwind
colors: {
  custom: {
    50: '#b46586',
    500: '#8e1b57',
    950: '#000000',
  },
}
SCSS
$custom: #8e1b57;
$custom-light: #b46586;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1b57",
  "rgb": {
    "r": 142,
    "g": 27,
    "b": 87
  },
  "hsl": {
    "h": 328.696,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43736,
    "c": 0.15796,
    "h": 354.4
  },
  "luminance": 0.07223
}

Semantic roles & 50–950 ramp

primary
#8E1B57
secondary
#47BE80
accent
#EB903D
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#12060B
muted
#817A7C

Preview Lab

Preview with #8E1B57

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

Preview Lab → · Contrast checker → · Palette generator →

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