#9D1D82#9D1D82

#9D1D82 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.4% C 0.191 H 338.6°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#9D1D82
RGBrgb(157, 29, 130)
HSLhsl(313, 69%, 36%)
HSVhsv(313, 82%, 62%)
CMYKcmyk(0%, 81.5%, 17.2%, 38.4%)
CIE-LABlab(37.23, 59.68, -25.61)
CIE-LCHlch(37.23, 64.95, 336.77°)
OKLaboklab(48.42% 0.1774 -0.0695)
OKLCHoklch(48.42% 0.191 338.6)
XYZxyz(18.3737, 9.6604, 22.0118)
Luminance0.0966 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1D82 #1D9D38
analogous
#781D9D #9D1D82 #9D1D42
triadic
#9D1D82 #829D1D #1D829D
tetradic
#9D1D82 #9D781D #1D9D38 #1D429D
square
#9D1D82 #9D781D #1D9D38 #1D429D
split-complementary
#9D1D82 #429D1D #1D9D78
monochromatic
#360A2C #691357 #9D1D82 #D127AD #E055C2

Accessibility & contrast

On white

7.16
#9D1D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D1D82
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1D82#FFFFFF#000000##FFFFFF
##9D1D821.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254B85
Deuteranopia (green-blind)
#525F7F
Tritanopia (blue-blind)
#A6244F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d1d82;
/* rgb */ color: rgb(157, 29, 130);
/* oklch */ color: oklch(48.4% 0.191 338.6);
Tailwind
colors: {
  custom: {
    50: '#be6aa6',
    500: '#9d1d82',
    950: '#000000',
  },
}
SCSS
$custom: #9d1d82;
$custom-light: #be6aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1d82",
  "rgb": {
    "r": 157,
    "g": 29,
    "b": 130
  },
  "hsl": {
    "h": 312.656,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48423,
    "c": 0.19053,
    "h": 338.6
  },
  "luminance": 0.09659
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D1D82

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

Preview Lab → · Contrast checker → · Palette generator →

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