#9D1D7A#9D1D7A

#9D1D7A is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.0% C 0.185 H 342.1°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#9D1D7A
RGBrgb(157, 29, 122)
HSLhsl(316, 69%, 36%)
HSVhsv(316, 82%, 62%)
CMYKcmyk(0%, 81.5%, 22.3%, 38.4%)
CIE-LABlab(36.84, 58.60, -21.22)
CIE-LCHlch(36.84, 62.32, 340.09°)
OKLaboklab(48.02% 0.1764 -0.0571)
OKLCHoklch(48.02% 0.185 342.1)
XYZxyz(17.8575, 9.4539, 19.2929)
Luminance0.0945 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1D7A #1D9D40
analogous
#801D9D #9D1D7A #9D1D3A
triadic
#9D1D7A #7A9D1D #1D7A9D
tetradic
#9D1D7A #9D801D #1D9D40 #1D3A9D
square
#9D1D7A #9D801D #1D9D40 #1D3A9D
split-complementary
#9D1D7A #3A9D1D #1D9D80
monochromatic
#360A2A #691352 #9D1D7A #D127A2 #E055BA

Accessibility & contrast

On white

7.27
#9D1D7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#9D1D7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1D7A
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1D7A#FFFFFF#000000##FFFFFF
##9D1D7A1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4A7C
Deuteranopia (green-blind)
#555E77
Tritanopia (blue-blind)
#A71F4A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9d1d7a;
/* rgb */ color: rgb(157, 29, 122);
/* oklch */ color: oklch(48.0% 0.185 342.1);
Tailwind
colors: {
  custom: {
    50: '#be69a0',
    500: '#9d1d7a',
    950: '#000000',
  },
}
SCSS
$custom: #9d1d7a;
$custom-light: #be69a0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1d7a",
  "rgb": {
    "r": 157,
    "g": 29,
    "b": 122
  },
  "hsl": {
    "h": 316.406,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48024,
    "c": 0.18542,
    "h": 342.1
  },
  "luminance": 0.09452
}

Semantic roles & 50–950 ramp

primary
#9D1D7A
secondary
#53C372
accent
#EC6C3C
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9D1D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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