#9D1D5B#9D1D5B

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

Color values

HEX#9D1D5B
RGBrgb(157, 29, 91)
HSLhsl(331, 69%, 36%)
HSVhsv(331, 82%, 62%)
CMYKcmyk(0%, 81.5%, 42%, 38.4%)
CIE-LABlab(35.60, 54.98, -3.44)
CIE-LCHlch(35.60, 55.09, 356.42°)
OKLaboklab(46.72% 0.1692 -0.0083)
OKLCHoklch(46.72% 0.169 357.2)
XYZxyz(16.2335, 8.8043, 10.7401)
Luminance0.0880 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1D5B #1D9D5F
analogous
#9D1D9B #9D1D5B #9D1F1D
triadic
#9D1D5B #5B9D1D #1D5B9D
tetradic
#9D1D5B #9B9D1D #1D9D5F #1F1D9D
square
#9D1D5B #9B9D1D #1D9D5F #1F1D9D
split-complementary
#9D1D5B #1D9D1F #1D9B9D
monochromatic
#360A1F #69133D #9D1D5B #D12779 #E05598

Accessibility & contrast

On white

7.61
#9D1D5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D1D5B
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1D5B#FFFFFF#000000##FFFFFF
##9D1D5B1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A445C
Deuteranopia (green-blind)
#5D5C58
Tritanopia (blue-blind)
#AA013A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9d1d5b;
/* rgb */ color: rgb(157, 29, 91);
/* oklch */ color: oklch(46.7% 0.169 357.2);
Tailwind
colors: {
  custom: {
    50: '#bf6889',
    500: '#9d1d5b',
    950: '#000000',
  },
}
SCSS
$custom: #9d1d5b;
$custom-light: #bf6889;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1d5b",
  "rgb": {
    "r": 157,
    "g": 29,
    "b": 91
  },
  "hsl": {
    "h": 330.938,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4672,
    "c": 0.16941,
    "h": 357.2
  },
  "luminance": 0.08802
}

Semantic roles & 50–950 ramp

primary
#9D1D5B
secondary
#53C38D
accent
#EC973C
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9D1D5B

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

Preview Lab → · Contrast checker → · Palette generator →

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