#8D1A56#8D1A56

#8D1A56 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.4% C 0.158 H 354.5°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#8D1A56
RGBrgb(141, 26, 86)
HSLhsl(329, 69%, 33%)
HSVhsv(329, 82%, 55%)
CMYKcmyk(0%, 81.6%, 39%, 44.7%)
CIE-LABlab(31.98, 51.04, -5.93)
CIE-LCHlch(31.98, 51.39, 353.38°)
OKLaboklab(43.44% 0.157 -0.015)
OKLCHoklch(43.44% 0.158 354.5)
XYZxyz(13.0345, 7.0751, 9.4815)
Luminance0.0707 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1A56 #1A8D51
analogous
#8B1A8D #8D1A56 #8D1A1C
triadic
#8D1A56 #568D1A #1A568D
tetradic
#8D1A56 #8D8B1A #1A8D51 #1A1C8D
square
#8D1A56 #8D8B1A #1A8D51 #1A1C8D
split-complementary
#8D1A56 #1C8D1A #1A8D8B
monochromatic
#260717 #591036 #8D1A56 #C12476 #DD4594

Accessibility & contrast

On white

8.70
#8D1A56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#8D1A56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1A56
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1A56#FFFFFF#000000##FFFFFF
##8D1A561.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323E57
Deuteranopia (green-blind)
#535353
Tritanopia (blue-blind)
#990836
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8d1a56;
/* rgb */ color: rgb(141, 26, 86);
/* oklch */ color: oklch(43.4% 0.158 354.5);
Tailwind
colors: {
  custom: {
    50: '#b36485',
    500: '#8d1a56',
    950: '#000000',
  },
}
SCSS
$custom: #8d1a56;
$custom-light: #b36485;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1a56",
  "rgb": {
    "r": 141,
    "g": 26,
    "b": 86
  },
  "hsl": {
    "h": 328.696,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43444,
    "c": 0.1577,
    "h": 354.5
  },
  "luminance": 0.07073
}

Semantic roles & 50–950 ramp

primary
#8D1A56
secondary
#45BE7F
accent
#EC903C
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#12060B
muted
#817A7C

Preview Lab

Preview with #8D1A56

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

Preview Lab → · Contrast checker → · Palette generator →

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