#8E1A52#8E1A52

#8E1A52 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.5% C 0.157 H 357.2°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#8E1A52
RGBrgb(142, 26, 82)
HSLhsl(331, 69%, 33%)
HSVhsv(331, 82%, 56%)
CMYKcmyk(0%, 81.7%, 42.3%, 44.3%)
CIE-LABlab(32.03, 50.89, -3.21)
CIE-LCHlch(32.03, 50.99, 356.39°)
OKLaboklab(43.48% 0.1566 -0.0078)
OKLCHoklch(43.48% 0.157 357.2)
XYZxyz(13.0487, 7.1005, 8.6644)
Luminance0.0710 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1A52 #1A8E56
analogous
#8E1A8C #8E1A52 #8E1C1A
triadic
#8E1A52 #528E1A #1A528E
tetradic
#8E1A52 #8C8E1A #1A8E56 #1C1A8E
square
#8E1A52 #8C8E1A #1A8E56 #1C1A8E
split-complementary
#8E1A52 #1A8E1C #1A8C8E
monochromatic
#270716 #5A1134 #8E1A52 #C22370 #DD458F

Accessibility & contrast

On white

8.68
#8E1A52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#8E1A52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1A52
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1A52#FFFFFF#000000##FFFFFF
##8E1A521.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343E53
Deuteranopia (green-blind)
#54534F
Tritanopia (blue-blind)
#9A0334
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8e1a52;
/* rgb */ color: rgb(142, 26, 82);
/* oklch */ color: oklch(43.5% 0.157 357.2);
Tailwind
colors: {
  custom: {
    50: '#b46482',
    500: '#8e1a52',
    950: '#000000',
  },
}
SCSS
$custom: #8e1a52;
$custom-light: #b46482;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1a52",
  "rgb": {
    "r": 142,
    "g": 26,
    "b": 82
  },
  "hsl": {
    "h": 331.034,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43475,
    "c": 0.15678,
    "h": 357.2
  },
  "luminance": 0.07099
}

Semantic roles & 50–950 ramp

primary
#8E1A52
secondary
#45BE84
accent
#EC973C
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8E1A52

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

Preview Lab → · Contrast checker → · Palette generator →

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