#9D1D52#9D1D52

#9D1D52 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.4% C 0.166 H 1.9°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#9D1D52
RGBrgb(157, 29, 82)
HSLhsl(335, 69%, 36%)
HSVhsv(335, 82%, 62%)
CMYKcmyk(0%, 81.5%, 47.8%, 38.4%)
CIE-LABlab(35.32, 54.12, 1.95)
CIE-LCHlch(35.32, 54.16, 2.07°)
OKLaboklab(46.42% 0.1662 0.0056)
OKLCHoklch(46.42% 0.166 1.9)
XYZxyz(15.8683, 8.6582, 8.8166)
Luminance0.0866 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1D52 #1D9D68
analogous
#9D1D92 #9D1D52 #9D281D
triadic
#9D1D52 #529D1D #1D529D
tetradic
#9D1D52 #929D1D #1D9D68 #281D9D
square
#9D1D52 #929D1D #1D9D68 #281D9D
split-complementary
#9D1D52 #1D9D28 #1D929D
monochromatic
#360A1C #691337 #9D1D52 #D1276D #E0558E

Accessibility & contrast

On white

7.69
#9D1D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#9D1D52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1D52
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1D52#FFFFFF#000000##FFFFFF
##9D1D521.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4353
Deuteranopia (green-blind)
#5F5C4F
Tritanopia (blue-blind)
#AB0035
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9d1d52;
/* rgb */ color: rgb(157, 29, 82);
/* oklch */ color: oklch(46.4% 0.166 1.9);
Tailwind
colors: {
  custom: {
    50: '#c06882',
    500: '#9d1d52',
    950: '#000000',
  },
}
SCSS
$custom: #9d1d52;
$custom-light: #c06882;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1d52",
  "rgb": {
    "r": 157,
    "g": 29,
    "b": 82
  },
  "hsl": {
    "h": 335.156,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46416,
    "c": 0.16627,
    "h": 1.9
  },
  "luminance": 0.08656
}

Semantic roles & 50–950 ramp

primary
#9D1D52
secondary
#53C395
accent
#ECA33C
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9D1D52

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

Preview Lab → · Contrast checker → · Palette generator →

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