#8D2A52#8D2A52

#8D2A52 is a dark, vivid pink. Relative luminance 0.079; OKLCH L 44.8% C 0.138 H 359.6°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#8D2A52
RGBrgb(141, 42, 82)
HSLhsl(336, 54%, 36%)
HSVhsv(336, 70%, 55%)
CMYKcmyk(0%, 70.2%, 41.8%, 44.7%)
CIE-LABlab(33.84, 45.01, -0.58)
CIE-LCHlch(33.84, 45.01, 359.26°)
OKLaboklab(44.76% 0.1379 -0.001)
OKLCHoklch(44.76% 0.138 359.6)
XYZxyz(13.3364, 7.9295, 8.8092)
Luminance0.0793 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2A52 #2A8D65
analogous
#8D2A83 #8D2A52 #8D342A
triadic
#8D2A52 #528D2A #2A528D
tetradic
#8D2A52 #838D2A #2A8D65 #342A8D
square
#8D2A52 #838D2A #2A8D65 #342A8D
split-complementary
#8D2A52 #2A8D34 #2A838D
monochromatic
#2F0E1B #5E1C37 #8D2A52 #BC386D #D0618E

Accessibility & contrast

On white

8.12
#8D2A52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8D2A52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2A52
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2A52#FFFFFF#000000##FFFFFF
##8D2A521.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4453
Deuteranopia (green-blind)
#585650
Tritanopia (blue-blind)
#991E3A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8d2a52;
/* rgb */ color: rgb(141, 42, 82);
/* oklch */ color: oklch(44.8% 0.138 359.6);
Tailwind
colors: {
  custom: {
    50: '#b36b82',
    500: '#8d2a52',
    950: '#000000',
  },
}
SCSS
$custom: #8d2a52;
$custom-light: #b36b82;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2a52",
  "rgb": {
    "r": 141,
    "g": 42,
    "b": 82
  },
  "hsl": {
    "h": 335.758,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44764,
    "c": 0.13786,
    "h": 359.6
  },
  "luminance": 0.07928
}

Semantic roles & 50–950 ramp

primary
#8D2A52
secondary
#5DB692
accent
#DDA24A
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#12070A
muted
#817A7C

Preview Lab

Preview with #8D2A52

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

Preview Lab → · Contrast checker → · Palette generator →

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