#9D1D81#9D1D81

#9D1D81 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.4% C 0.190 H 339.0°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#9D1D81
RGBrgb(157, 29, 129)
HSLhsl(313, 69%, 36%)
HSVhsv(313, 82%, 62%)
CMYKcmyk(0%, 81.5%, 17.8%, 38.4%)
CIE-LABlab(37.18, 59.54, -25.07)
CIE-LCHlch(37.18, 64.61, 337.17°)
OKLaboklab(48.37% 0.1773 -0.068)
OKLCHoklch(48.37% 0.19 339)
XYZxyz(18.3069, 9.6337, 21.6600)
Luminance0.0963 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1D81 #1D9D39
analogous
#791D9D #9D1D81 #9D1D41
triadic
#9D1D81 #819D1D #1D819D
tetradic
#9D1D81 #9D791D #1D9D39 #1D419D
square
#9D1D81 #9D791D #1D9D39 #1D419D
split-complementary
#9D1D81 #419D1D #1D9D79
monochromatic
#360A2C #691357 #9D1D81 #D127AB #E055C1

Accessibility & contrast

On white

7.18
#9D1D81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9D1D81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1D81
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1D81#FFFFFF#000000##FFFFFF
##9D1D811.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264B84
Deuteranopia (green-blind)
#525E7E
Tritanopia (blue-blind)
#A6244E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9d1d81;
/* rgb */ color: rgb(157, 29, 129);
/* oklch */ color: oklch(48.4% 0.190 339.0);
Tailwind
colors: {
  custom: {
    50: '#be6aa6',
    500: '#9d1d81',
    950: '#000000',
  },
}
SCSS
$custom: #9d1d81;
$custom-light: #be6aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1d81",
  "rgb": {
    "r": 157,
    "g": 29,
    "b": 129
  },
  "hsl": {
    "h": 313.125,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48372,
    "c": 0.18988,
    "h": 339
  },
  "luminance": 0.09632
}

Semantic roles & 50–950 ramp

primary
#9D1D81
secondary
#53C36B
accent
#EC633C
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9D1D81

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

Preview Lab → · Contrast checker → · Palette generator →

#9D1D81 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva