#8D1B57#8D1B57

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

Color values

HEX#8D1B57
RGBrgb(141, 27, 87)
HSLhsl(328, 68%, 33%)
HSVhsv(328, 81%, 55%)
CMYKcmyk(0%, 80.9%, 38.3%, 44.7%)
CIE-LABlab(32.12, 50.86, -6.37)
CIE-LCHlch(32.12, 51.26, 352.86°)
OKLaboklab(43.56% 0.1564 -0.0162)
OKLCHoklch(43.56% 0.157 354.1)
XYZxyz(13.0976, 7.1364, 9.7027)
Luminance0.0713 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1B57 #1B8D51
analogous
#8A1B8D #8D1B57 #8D1B1E
triadic
#8D1B57 #578D1B #1B578D
tetradic
#8D1B57 #8D8A1B #1B8D51 #1B1E8D
square
#8D1B57 #8D8A1B #1B8D51 #1B1E8D
split-complementary
#8D1B57 #1E8D1B #1B8D8A
monochromatic
#260718 #5A1137 #8D1B57 #C02577 #DC4795

Accessibility & contrast

On white

8.65
#8D1B57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#8D1B57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1B57
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1B57#FFFFFF#000000##FFFFFF
##8D1B571.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333E58
Deuteranopia (green-blind)
#535354
Tritanopia (blue-blind)
#990B37
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8d1b57;
/* rgb */ color: rgb(141, 27, 87);
/* oklch */ color: oklch(43.6% 0.157 354.1);
Tailwind
colors: {
  custom: {
    50: '#b36586',
    500: '#8d1b57',
    950: '#000000',
  },
}
SCSS
$custom: #8d1b57;
$custom-light: #b36586;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1b57",
  "rgb": {
    "r": 141,
    "g": 27,
    "b": 87
  },
  "hsl": {
    "h": 328.421,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43556,
    "c": 0.15719,
    "h": 354.1
  },
  "luminance": 0.07135
}

Semantic roles & 50–950 ramp

primary
#8D1B57
secondary
#46BD7F
accent
#EB8F3D
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#12060B
muted
#817A7C

Preview Lab

Preview with #8D1B57

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

Preview Lab → · Contrast checker → · Palette generator →

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