#9D1D7D#9D1D7D

#9D1D7D is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.2% C 0.187 H 340.8°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#9D1D7D
RGBrgb(157, 29, 125)
HSLhsl(315, 69%, 36%)
HSVhsv(315, 82%, 62%)
CMYKcmyk(0%, 81.5%, 20.4%, 38.4%)
CIE-LABlab(36.98, 59.00, -22.88)
CIE-LCHlch(36.98, 63.28, 338.80°)
OKLaboklab(48.17% 0.1768 -0.0617)
OKLCHoklch(48.17% 0.187 340.8)
XYZxyz(18.0463, 9.5294, 20.2870)
Luminance0.0953 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1D7D #1D9D3D
analogous
#7D1D9D #9D1D7D #9D1D3D
triadic
#9D1D7D #7D9D1D #1D7D9D
tetradic
#9D1D7D #9D7D1D #1D9D3D #1D3D9D
square
#9D1D7D #9D7D1D #1D9D3D #1D3D9D
split-complementary
#9D1D7D #3D9D1D #1D9D7D
monochromatic
#360A2B #691354 #9D1D7D #D127A6 #E055BD

Accessibility & contrast

On white

7.23
#9D1D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#9D1D7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1D7D
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1D7D#FFFFFF#000000##FFFFFF
##9D1D7D1.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294A7F
Deuteranopia (green-blind)
#545E7A
Tritanopia (blue-blind)
#A7214C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9d1d7d;
/* rgb */ color: rgb(157, 29, 125);
/* oklch */ color: oklch(48.2% 0.187 340.8);
Tailwind
colors: {
  custom: {
    50: '#be6aa3',
    500: '#9d1d7d',
    950: '#000000',
  },
}
SCSS
$custom: #9d1d7d;
$custom-light: #be6aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1d7d",
  "rgb": {
    "r": 157,
    "g": 29,
    "b": 125
  },
  "hsl": {
    "h": 315,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4817,
    "c": 0.1873,
    "h": 340.8
  },
  "luminance": 0.09527
}

Semantic roles & 50–950 ramp

primary
#9D1D7D
secondary
#53C36F
accent
#EC683C
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9D1D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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