#9D1D4B#9D1D4B

#9D1D4B is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.2% C 0.164 H 5.7°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#9D1D4B
RGBrgb(157, 29, 75)
HSLhsl(338, 69%, 36%)
HSVhsv(338, 82%, 62%)
CMYKcmyk(0%, 81.5%, 52.2%, 38.4%)
CIE-LABlab(35.12, 53.51, 6.20)
CIE-LCHlch(35.12, 53.87, 6.61°)
OKLaboklab(46.2% 0.1636 0.0162)
OKLCHoklch(46.2% 0.164 5.7)
XYZxyz(15.6154, 8.5571, 7.4847)
Luminance0.0856 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1D4B #1D9D6F
analogous
#9D1D8B #9D1D4B #9D2F1D
triadic
#9D1D4B #4B9D1D #1D4B9D
tetradic
#9D1D4B #8B9D1D #1D9D6F #2F1D9D
square
#9D1D4B #8B9D1D #1D9D6F #2F1D9D
split-complementary
#9D1D4B #1D9D2F #1D8B9D
monochromatic
#360A1A #691332 #9D1D4B #D12764 #E05587

Accessibility & contrast

On white

7.75
#9D1D4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#9D1D4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1D4B
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1D4B#FFFFFF#000000##FFFFFF
##9D1D4B1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F424C
Deuteranopia (green-blind)
#615C48
Tritanopia (blue-blind)
#AB0032
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9d1d4b;
/* rgb */ color: rgb(157, 29, 75);
/* oklch */ color: oklch(46.2% 0.164 5.7);
Tailwind
colors: {
  custom: {
    50: '#c0687d',
    500: '#9d1d4b',
    950: '#000000',
  },
}
SCSS
$custom: #9d1d4b;
$custom-light: #c0687d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1d4b",
  "rgb": {
    "r": 157,
    "g": 29,
    "b": 75
  },
  "hsl": {
    "h": 338.438,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46203,
    "c": 0.16442,
    "h": 5.7
  },
  "luminance": 0.08555
}

Semantic roles & 50–950 ramp

primary
#9D1D4B
secondary
#53C39B
accent
#ECAD3C
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9D1D4B

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

Preview Lab → · Contrast checker → · Palette generator →

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