#9D1D5F#9D1D5F

#9D1D5F is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.9% C 0.171 H 355.1°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#9D1D5F
RGBrgb(157, 29, 95)
HSLhsl(329, 69%, 36%)
HSVhsv(329, 82%, 62%)
CMYKcmyk(0%, 81.5%, 39.5%, 38.4%)
CIE-LABlab(35.74, 55.39, -5.80)
CIE-LCHlch(35.74, 55.69, 354.02°)
OKLaboklab(46.87% 0.1704 -0.0146)
OKLCHoklch(46.87% 0.171 355.1)
XYZxyz(16.4107, 8.8752, 11.6732)
Luminance0.0887 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1D5F #1D9D5B
analogous
#9B1D9D #9D1D5F #9D1D1F
triadic
#9D1D5F #5F9D1D #1D5F9D
tetradic
#9D1D5F #9D9B1D #1D9D5B #1D1F9D
square
#9D1D5F #9D9B1D #1D9D5B #1D1F9D
split-complementary
#9D1D5F #1F9D1D #1D9D9B
monochromatic
#360A20 #691340 #9D1D5F #D1277E #E0559C

Accessibility & contrast

On white

7.57
#9D1D5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#9D1D5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1D5F
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1D5F#FFFFFF#000000##FFFFFF
##9D1D5F1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394561
Deuteranopia (green-blind)
#5D5C5C
Tritanopia (blue-blind)
#AA063C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9d1d5f;
/* rgb */ color: rgb(157, 29, 95);
/* oklch */ color: oklch(46.9% 0.171 355.1);
Tailwind
colors: {
  custom: {
    50: '#bf688c',
    500: '#9d1d5f',
    950: '#000000',
  },
}
SCSS
$custom: #9d1d5f;
$custom-light: #bf688c;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1d5f",
  "rgb": {
    "r": 157,
    "g": 29,
    "b": 95
  },
  "hsl": {
    "h": 329.063,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46866,
    "c": 0.17104,
    "h": 355.1
  },
  "luminance": 0.08873
}

Semantic roles & 50–950 ramp

primary
#9D1D5F
secondary
#53C389
accent
#EC913C
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9D1D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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