#9D1D4E#9D1D4E

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

Color values

HEX#9D1D4E
RGBrgb(157, 29, 78)
HSLhsl(337, 69%, 36%)
HSVhsv(337, 82%, 62%)
CMYKcmyk(0%, 81.5%, 50.3%, 38.4%)
CIE-LABlab(35.20, 53.77, 4.38)
CIE-LCHlch(35.20, 53.95, 4.65°)
OKLaboklab(46.29% 0.1647 0.0117)
OKLCHoklch(46.29% 0.165 4.1)
XYZxyz(15.7205, 8.5991, 8.0382)
Luminance0.0860 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1D4E #1D9D6C
analogous
#9D1D8E #9D1D4E #9D2C1D
triadic
#9D1D4E #4E9D1D #1D4E9D
tetradic
#9D1D4E #8E9D1D #1D9D6C #2C1D9D
square
#9D1D4E #8E9D1D #1D9D6C #2C1D9D
split-complementary
#9D1D4E #1D9D2C #1D8E9D
monochromatic
#360A1B #691334 #9D1D4E #D12768 #E0558A

Accessibility & contrast

On white

7.72
#9D1D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#9D1D4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1D4E
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1D4E#FFFFFF#000000##FFFFFF
##9D1D4E1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E434F
Deuteranopia (green-blind)
#605C4B
Tritanopia (blue-blind)
#AB0033
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9d1d4e;
/* rgb */ color: rgb(157, 29, 78);
/* oklch */ color: oklch(46.3% 0.165 4.1);
Tailwind
colors: {
  custom: {
    50: '#c0687f',
    500: '#9d1d4e',
    950: '#000000',
  },
}
SCSS
$custom: #9d1d4e;
$custom-light: #c0687f;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1d4e",
  "rgb": {
    "r": 157,
    "g": 29,
    "b": 78
  },
  "hsl": {
    "h": 337.031,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46292,
    "c": 0.16515,
    "h": 4.1
  },
  "luminance": 0.08597
}

Semantic roles & 50–950 ramp

primary
#9D1D4E
secondary
#53C398
accent
#ECA83C
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9D1D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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