#9D1D4C#9D1D4C

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

Color values

HEX#9D1D4C
RGBrgb(157, 29, 76)
HSLhsl(338, 69%, 36%)
HSVhsv(338, 82%, 62%)
CMYKcmyk(0%, 81.5%, 51.6%, 38.4%)
CIE-LABlab(35.14, 53.60, 5.59)
CIE-LCHlch(35.14, 53.89, 5.96°)
OKLaboklab(46.23% 0.164 0.0147)
OKLCHoklch(46.23% 0.165 5.1)
XYZxyz(15.6499, 8.5708, 7.6663)
Luminance0.0857 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1D4C #1D9D6E
analogous
#9D1D8C #9D1D4C #9D2E1D
triadic
#9D1D4C #4C9D1D #1D4C9D
tetradic
#9D1D4C #8C9D1D #1D9D6E #2E1D9D
square
#9D1D4C #8C9D1D #1D9D6E #2E1D9D
split-complementary
#9D1D4C #1D9D2E #1D8C9D
monochromatic
#360A1A #691333 #9D1D4C #D12765 #E05588

Accessibility & contrast

On white

7.74
#9D1D4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D1D4C
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1D4C#FFFFFF#000000##FFFFFF
##9D1D4C1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F434D
Deuteranopia (green-blind)
#605C49
Tritanopia (blue-blind)
#AB0032
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9d1d4c;
/* rgb */ color: rgb(157, 29, 76);
/* oklch */ color: oklch(46.2% 0.165 5.1);
Tailwind
colors: {
  custom: {
    50: '#c0687d',
    500: '#9d1d4c',
    950: '#000000',
  },
}
SCSS
$custom: #9d1d4c;
$custom-light: #c0687d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1d4c",
  "rgb": {
    "r": 157,
    "g": 29,
    "b": 76
  },
  "hsl": {
    "h": 337.969,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46232,
    "c": 0.16465,
    "h": 5.1
  },
  "luminance": 0.08569
}

Semantic roles & 50–950 ramp

primary
#9D1D4C
secondary
#53C39A
accent
#ECAB3C
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9D1D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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