#8D1D72#8D1D72

#8D1D72 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.9% C 0.171 H 339.9°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#8D1D72
RGBrgb(141, 29, 114)
HSLhsl(314, 66%, 33%)
HSVhsv(314, 79%, 55%)
CMYKcmyk(0%, 79.4%, 19.1%, 44.7%)
CIE-LABlab(33.47, 53.68, -21.66)
CIE-LCHlch(33.47, 57.89, 338.03°)
OKLaboklab(44.92% 0.1603 -0.0585)
OKLCHoklch(44.92% 0.171 339.9)
XYZxyz(14.4616, 7.7578, 16.6521)
Luminance0.0776 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1D72 #1D8D38
analogous
#701D8D #8D1D72 #8D1D3A
triadic
#8D1D72 #728D1D #1D728D
tetradic
#8D1D72 #8D701D #1D8D38 #1D3A8D
square
#8D1D72 #8D701D #1D8D38 #1D3A8D
split-complementary
#8D1D72 #3A8D1D #1D8D70
monochromatic
#270820 #5A1349 #8D1D72 #C0279B #DA4BB7

Accessibility & contrast

On white

8.23
#8D1D72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8D1D72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1D72
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1D72#FFFFFF#000000##FFFFFF
##8D1D721.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264374
Deuteranopia (green-blind)
#4B556F
Tritanopia (blue-blind)
#962146
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8d1d72;
/* rgb */ color: rgb(141, 29, 114);
/* oklch */ color: oklch(44.9% 0.171 339.9);
Tailwind
colors: {
  custom: {
    50: '#b2679a',
    500: '#8d1d72',
    950: '#000000',
  },
}
SCSS
$custom: #8d1d72;
$custom-light: #b2679a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1d72",
  "rgb": {
    "r": 141,
    "g": 29,
    "b": 114
  },
  "hsl": {
    "h": 314.464,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44917,
    "c": 0.17063,
    "h": 339.9
  },
  "luminance": 0.07756
}

Semantic roles & 50–950 ramp

primary
#8D1D72
secondary
#4ABC65
accent
#E9683F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8D1D72

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

Preview Lab → · Contrast checker → · Palette generator →

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