#9D1D7B#9D1D7B

#9D1D7B is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.1% C 0.186 H 341.6°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#9D1D7B
RGBrgb(157, 29, 123)
HSLhsl(316, 69%, 36%)
HSVhsv(316, 82%, 62%)
CMYKcmyk(0%, 81.5%, 21.7%, 38.4%)
CIE-LABlab(36.89, 58.73, -21.78)
CIE-LCHlch(36.89, 62.64, 339.66°)
OKLaboklab(48.07% 0.1766 -0.0586)
OKLCHoklch(48.07% 0.186 341.6)
XYZxyz(17.9198, 9.4788, 19.6209)
Luminance0.0948 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1D7B #1D9D3F
analogous
#7F1D9D #9D1D7B #9D1D3B
triadic
#9D1D7B #7B9D1D #1D7B9D
tetradic
#9D1D7B #9D7F1D #1D9D3F #1D3B9D
square
#9D1D7B #9D7F1D #1D9D3F #1D3B9D
split-complementary
#9D1D7B #3B9D1D #1D9D7F
monochromatic
#360A2A #691353 #9D1D7B #D127A3 #E055BB

Accessibility & contrast

On white

7.25
#9D1D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#9D1D7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1D7B
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1D7B#FFFFFF#000000##FFFFFF
##9D1D7B1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4A7D
Deuteranopia (green-blind)
#545E78
Tritanopia (blue-blind)
#A7204B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9d1d7b;
/* rgb */ color: rgb(157, 29, 123);
/* oklch */ color: oklch(48.1% 0.186 341.6);
Tailwind
colors: {
  custom: {
    50: '#be69a1',
    500: '#9d1d7b',
    950: '#000000',
  },
}
SCSS
$custom: #9d1d7b;
$custom-light: #be69a1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1d7b",
  "rgb": {
    "r": 157,
    "g": 29,
    "b": 123
  },
  "hsl": {
    "h": 315.938,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48072,
    "c": 0.18605,
    "h": 341.6
  },
  "luminance": 0.09477
}

Semantic roles & 50–950 ramp

primary
#9D1D7B
secondary
#53C371
accent
#EC6B3C
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070F
muted
#827A7E

Preview Lab

Preview with #9D1D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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