#8D1B5E#8D1B5E

#8D1B5E is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.8% C 0.161 H 350.2°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#8D1B5E
RGBrgb(141, 27, 94)
HSLhsl(325, 68%, 33%)
HSVhsv(325, 81%, 55%)
CMYKcmyk(0%, 80.9%, 33.3%, 44.7%)
CIE-LABlab(32.38, 51.67, -10.52)
CIE-LCHlch(32.38, 52.73, 348.49°)
OKLaboklab(43.84% 0.1583 -0.0274)
OKLCHoklch(43.84% 0.161 350.2)
XYZxyz(13.3976, 7.2563, 11.2826)
Luminance0.0726 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1B5E #1B8D4A
analogous
#831B8D #8D1B5E #8D1B25
triadic
#8D1B5E #5E8D1B #1B5E8D
tetradic
#8D1B5E #8D831B #1B8D4A #1B258D
square
#8D1B5E #8D831B #1B8D4A #1B258D
split-complementary
#8D1B5E #258D1B #1B8D83
monochromatic
#26071A #5A113C #8D1B5E #C02580 #DC479E

Accessibility & contrast

On white

8.57
#8D1B5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#8D1B5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1B5E
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1B5E#FFFFFF#000000##FFFFFF
##8D1B5E1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303F60
Deuteranopia (green-blind)
#51535B
Tritanopia (blue-blind)
#98123A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8d1b5e;
/* rgb */ color: rgb(141, 27, 94);
/* oklch */ color: oklch(43.8% 0.161 350.2);
Tailwind
colors: {
  custom: {
    50: '#b3658b',
    500: '#8d1b5e',
    950: '#000000',
  },
}
SCSS
$custom: #8d1b5e;
$custom-light: #b3658b;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1b5e",
  "rgb": {
    "r": 141,
    "g": 27,
    "b": 94
  },
  "hsl": {
    "h": 324.737,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43839,
    "c": 0.16062,
    "h": 350.2
  },
  "luminance": 0.07255
}

Semantic roles & 50–950 ramp

primary
#8D1B5E
secondary
#46BD77
accent
#EB853D
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12060C
muted
#817A7D

Preview Lab

Preview with #8D1B5E

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

Preview Lab → · Contrast checker → · Palette generator →

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