#8E1D52#8E1D52

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

Color values

HEX#8E1D52
RGBrgb(142, 29, 82)
HSLhsl(332, 66%, 34%)
HSVhsv(332, 80%, 56%)
CMYKcmyk(0%, 79.6%, 42.3%, 44.3%)
CIE-LABlab(32.35, 50.00, -2.74)
CIE-LCHlch(32.35, 50.08, 356.86°)
OKLaboklab(43.71% 0.1537 -0.0066)
OKLCHoklch(43.71% 0.154 357.5)
XYZxyz(13.1187, 7.2404, 8.6877)
Luminance0.0724 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1D52 #1D8E59
analogous
#8E1D8A #8E1D52 #8E201D
triadic
#8E1D52 #528E1D #1D528E
tetradic
#8E1D52 #8A8E1D #1D8E59 #201D8E
square
#8E1D52 #8A8E1D #1D8E59 #201D8E
split-complementary
#8E1D52 #1D8E20 #1D8A8E
monochromatic
#280817 #5B1335 #8E1D52 #C1276F #DA4B8E

Accessibility & contrast

On white

8.58
#8E1D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#8E1D52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1D52
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1D52#FFFFFF#000000##FFFFFF
##8E1D521.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363F53
Deuteranopia (green-blind)
#55544F
Tritanopia (blue-blind)
#9A0935
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8e1d52;
/* rgb */ color: rgb(142, 29, 82);
/* oklch */ color: oklch(43.7% 0.154 357.5);
Tailwind
colors: {
  custom: {
    50: '#b46682',
    500: '#8e1d52',
    950: '#000000',
  },
}
SCSS
$custom: #8e1d52;
$custom-light: #b46682;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1d52",
  "rgb": {
    "r": 142,
    "g": 29,
    "b": 82
  },
  "hsl": {
    "h": 331.858,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43705,
    "c": 0.15388,
    "h": 357.5
  },
  "luminance": 0.07239
}

Semantic roles & 50–950 ramp

primary
#8E1D52
secondary
#4ABD87
accent
#E9993F
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8E1D52

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

Preview Lab → · Contrast checker → · Palette generator →

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