#8D1A5B#8D1A5B

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

Color values

HEX#8D1A5B
RGBrgb(141, 26, 91)
HSLhsl(326, 69%, 33%)
HSVhsv(326, 82%, 55%)
CMYKcmyk(0%, 81.6%, 35.5%, 44.7%)
CIE-LABlab(32.16, 51.60, -8.90)
CIE-LCHlch(32.16, 52.37, 350.21°)
OKLaboklab(43.64% 0.1584 -0.023)
OKLCHoklch(43.64% 0.16 351.7)
XYZxyz(13.2431, 7.1585, 10.5798)
Luminance0.0716 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1A5B #1A8D4C
analogous
#851A8D #8D1A5B #8D1A22
triadic
#8D1A5B #5B8D1A #1A5B8D
tetradic
#8D1A5B #8D851A #1A8D4C #1A228D
square
#8D1A5B #8D851A #1A8D4C #1A228D
split-complementary
#8D1A5B #228D1A #1A8D85
monochromatic
#260718 #59103A #8D1A5B #C1247C #DD459B

Accessibility & contrast

On white

8.64
#8D1A5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D1A5B
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1A5B#FFFFFF#000000##FFFFFF
##8D1A5B1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303F5D
Deuteranopia (green-blind)
#515358
Tritanopia (blue-blind)
#980D38
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8d1a5b;
/* rgb */ color: rgb(141, 26, 91);
/* oklch */ color: oklch(43.6% 0.160 351.7);
Tailwind
colors: {
  custom: {
    50: '#b36589',
    500: '#8d1a5b',
    950: '#000000',
  },
}
SCSS
$custom: #8d1a5b;
$custom-light: #b36589;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1a5b",
  "rgb": {
    "r": 141,
    "g": 26,
    "b": 91
  },
  "hsl": {
    "h": 326.087,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43642,
    "c": 0.16006,
    "h": 351.7
  },
  "luminance": 0.07157
}

Semantic roles & 50–950 ramp

primary
#8D1A5B
secondary
#45BE7A
accent
#EC883C
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12060B
muted
#817A7C

Preview Lab

Preview with #8D1A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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