#8D1A6D#8D1A6D

#8D1A6D is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.5% C 0.170 H 342.3°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#8D1A6D
RGBrgb(141, 26, 109)
HSLhsl(317, 69%, 33%)
HSVhsv(317, 82%, 55%)
CMYKcmyk(0%, 81.6%, 22.7%, 44.7%)
CIE-LABlab(32.93, 53.85, -19.31)
CIE-LCHlch(32.93, 57.21, 340.27°)
OKLaboklab(44.45% 0.1622 -0.0519)
OKLCHoklch(44.45% 0.17 342.3)
XYZxyz(14.1147, 7.5071, 15.1707)
Luminance0.0751 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1A6D #1A8D3A
analogous
#741A8D #8D1A6D #8D1A33
triadic
#8D1A6D #6D8D1A #1A6D8D
tetradic
#8D1A6D #8D741A #1A8D3A #1A338D
square
#8D1A6D #8D741A #1A8D3A #1A338D
split-complementary
#8D1A6D #338D1A #1A8D74
monochromatic
#26071D #591045 #8D1A6D #C12495 #DD45B2

Accessibility & contrast

On white

8.40
#8D1A6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#8D1A6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1A6D
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1A6D#FFFFFF#000000##FFFFFF
##8D1A6D1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27426F
Deuteranopia (green-blind)
#4C546A
Tritanopia (blue-blind)
#961C42
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8d1a6d;
/* rgb */ color: rgb(141, 26, 109);
/* oklch */ color: oklch(44.5% 0.170 342.3);
Tailwind
colors: {
  custom: {
    50: '#b26597',
    500: '#8d1a6d',
    950: '#000000',
  },
}
SCSS
$custom: #8d1a6d;
$custom-light: #b26597;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1a6d",
  "rgb": {
    "r": 141,
    "g": 26,
    "b": 109
  },
  "hsl": {
    "h": 316.696,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44451,
    "c": 0.17029,
    "h": 342.3
  },
  "luminance": 0.07506
}

Semantic roles & 50–950 ramp

primary
#8D1A6D
secondary
#45BE67
accent
#EC6D3C
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8D1A6D

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

Preview Lab → · Contrast checker → · Palette generator →

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