#8E2A52#8E2A52

#8E2A52 is a dark, vivid pink. Relative luminance 0.080; OKLCH L 44.9% C 0.139 H 359.9°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#8E2A52
RGBrgb(142, 42, 82)
HSLhsl(336, 54%, 36%)
HSVhsv(336, 70%, 56%)
CMYKcmyk(0%, 70.4%, 42.3%, 44.3%)
CIE-LABlab(34.02, 45.32, -0.29)
CIE-LCHlch(34.02, 45.32, 359.64°)
OKLaboklab(44.93% 0.1388 -0.0002)
OKLCHoklch(44.93% 0.139 359.9)
XYZxyz(13.5072, 8.0176, 8.8173)
Luminance0.0802 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2A52 #2A8E66
analogous
#8E2A84 #8E2A52 #8E342A
triadic
#8E2A52 #528E2A #2A528E
tetradic
#8E2A52 #848E2A #2A8E66 #342A8E
square
#8E2A52 #848E2A #2A8E66 #342A8E
split-complementary
#8E2A52 #2A8E34 #2A848E
monochromatic
#300E1B #5F1C37 #8E2A52 #BD386D #D1628E

Accessibility & contrast

On white

8.07
#8E2A52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8E2A52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2A52
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2A52#FFFFFF#000000##FFFFFF
##8E2A521.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4453
Deuteranopia (green-blind)
#595750
Tritanopia (blue-blind)
#9A1E3A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e2a52;
/* rgb */ color: rgb(142, 42, 82);
/* oklch */ color: oklch(44.9% 0.139 359.9);
Tailwind
colors: {
  custom: {
    50: '#b36b82',
    500: '#8e2a52',
    950: '#000000',
  },
}
SCSS
$custom: #8e2a52;
$custom-light: #b36b82;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2a52",
  "rgb": {
    "r": 142,
    "g": 42,
    "b": 82
  },
  "hsl": {
    "h": 336,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44934,
    "c": 0.13882,
    "h": 359.9
  },
  "luminance": 0.08016
}

Semantic roles & 50–950 ramp

primary
#8E2A52
secondary
#5DB693
accent
#DEA34A
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#12070A
muted
#817A7C

Preview Lab

Preview with #8E2A52

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

Preview Lab → · Contrast checker → · Palette generator →

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