#8E1D5F#8E1D5F

#8E1D5F is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.2% C 0.160 H 350.2°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#8E1D5F
RGBrgb(142, 29, 95)
HSLhsl(325, 66%, 34%)
HSVhsv(325, 80%, 56%)
CMYKcmyk(0%, 79.6%, 33.1%, 44.3%)
CIE-LABlab(32.83, 51.45, -10.48)
CIE-LCHlch(32.83, 52.51, 348.49°)
OKLaboklab(44.21% 0.1575 -0.0273)
OKLCHoklch(44.21% 0.16 350.2)
XYZxyz(13.6610, 7.4574, 11.5443)
Luminance0.0746 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1D5F #1D8E4C
analogous
#841D8E #8E1D5F #8E1D26
triadic
#8E1D5F #5F8E1D #1D5F8E
tetradic
#8E1D5F #8E841D #1D8E4C #1D268E
square
#8E1D5F #8E841D #1D8E4C #1D268E
split-complementary
#8E1D5F #268E1D #1D8E84
monochromatic
#28081B #5B133D #8E1D5F #C12781 #DA4B9F

Accessibility & contrast

On white

8.43
#8E1D5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#8E1D5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1D5F
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1D5F#FFFFFF#000000##FFFFFF
##8E1D5F1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314061
Deuteranopia (green-blind)
#52545C
Tritanopia (blue-blind)
#99143C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8e1d5f;
/* rgb */ color: rgb(142, 29, 95);
/* oklch */ color: oklch(44.2% 0.160 350.2);
Tailwind
colors: {
  custom: {
    50: '#b3668c',
    500: '#8e1d5f',
    950: '#000000',
  },
}
SCSS
$custom: #8e1d5f;
$custom-light: #b3668c;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1d5f",
  "rgb": {
    "r": 142,
    "g": 29,
    "b": 95
  },
  "hsl": {
    "h": 324.956,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.4421,
    "c": 0.15988,
    "h": 350.2
  },
  "luminance": 0.07456
}

Semantic roles & 50–950 ramp

primary
#8E1D5F
secondary
#4ABD7A
accent
#E9863F
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12060C
muted
#817A7D

Preview Lab

Preview with #8E1D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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