#9D1D5A#9D1D5A

#9D1D5A is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.7% C 0.169 H 357.7°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#9D1D5A
RGBrgb(157, 29, 90)
HSLhsl(331, 69%, 36%)
HSVhsv(331, 82%, 62%)
CMYKcmyk(0%, 81.5%, 42.7%, 38.4%)
CIE-LABlab(35.57, 54.88, -2.84)
CIE-LCHlch(35.57, 54.95, 357.04°)
OKLaboklab(46.68% 0.1689 -0.0068)
OKLCHoklch(46.68% 0.169 357.7)
XYZxyz(16.1907, 8.7872, 10.5144)
Luminance0.0878 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1D5A #1D9D60
analogous
#9D1D9A #9D1D5A #9D201D
triadic
#9D1D5A #5A9D1D #1D5A9D
tetradic
#9D1D5A #9A9D1D #1D9D60 #201D9D
square
#9D1D5A #9A9D1D #1D9D60 #201D9D
split-complementary
#9D1D5A #1D9D20 #1D9A9D
monochromatic
#360A1F #69133C #9D1D5A #D12778 #E05597

Accessibility & contrast

On white

7.62
#9D1D5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#9D1D5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1D5A
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1D5A#FFFFFF#000000##FFFFFF
##9D1D5A1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B445B
Deuteranopia (green-blind)
#5E5C57
Tritanopia (blue-blind)
#AA0039
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9d1d5a;
/* rgb */ color: rgb(157, 29, 90);
/* oklch */ color: oklch(46.7% 0.169 357.7);
Tailwind
colors: {
  custom: {
    50: '#bf6888',
    500: '#9d1d5a',
    950: '#000000',
  },
}
SCSS
$custom: #9d1d5a;
$custom-light: #bf6888;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1d5a",
  "rgb": {
    "r": 157,
    "g": 29,
    "b": 90
  },
  "hsl": {
    "h": 331.406,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46684,
    "c": 0.16902,
    "h": 357.7
  },
  "luminance": 0.08785
}

Semantic roles & 50–950 ramp

primary
#9D1D5A
secondary
#53C38E
accent
#EC983C
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9D1D5A

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

Preview Lab → · Contrast checker → · Palette generator →

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