#8D1E52#8D1E52

#8D1E52 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.6% C 0.152 H 357.4°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#8D1E52
RGBrgb(141, 30, 82)
HSLhsl(332, 65%, 34%)
HSVhsv(332, 79%, 55%)
CMYKcmyk(0%, 78.7%, 41.8%, 44.7%)
CIE-LABlab(32.26, 49.41, -2.89)
CIE-LCHlch(32.26, 49.49, 356.65°)
OKLaboklab(43.61% 0.1519 -0.007)
OKLCHoklch(43.61% 0.152 357.4)
XYZxyz(12.9727, 7.2021, 8.6880)
Luminance0.0720 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1E52 #1E8D59
analogous
#8D1E89 #8D1E52 #8D221E
triadic
#8D1E52 #528D1E #1E528D
tetradic
#8D1E52 #898D1E #1E8D59 #221E8D
square
#8D1E52 #898D1E #1E8D59 #221E8D
split-complementary
#8D1E52 #1E8D22 #1E898D
monochromatic
#280917 #5B1335 #8D1E52 #BF296F #D94C8E

Accessibility & contrast

On white

8.61
#8D1E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#8D1E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1E52
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1E52#FFFFFF#000000##FFFFFF
##8D1E521.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363F53
Deuteranopia (green-blind)
#55534F
Tritanopia (blue-blind)
#990C35
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8d1e52;
/* rgb */ color: rgb(141, 30, 82);
/* oklch */ color: oklch(43.6% 0.152 357.4);
Tailwind
colors: {
  custom: {
    50: '#b36682',
    500: '#8d1e52',
    950: '#000000',
  },
}
SCSS
$custom: #8d1e52;
$custom-light: #b36682;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1e52",
  "rgb": {
    "r": 141,
    "g": 30,
    "b": 82
  },
  "hsl": {
    "h": 331.892,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43606,
    "c": 0.15202,
    "h": 357.4
  },
  "luminance": 0.072
}

Semantic roles & 50–950 ramp

primary
#8D1E52
secondary
#4BBC87
accent
#E89940
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8D1E52

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

Preview Lab → · Contrast checker → · Palette generator →

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