#9D1D4D#9D1D4D

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

Color values

HEX#9D1D4D
RGBrgb(157, 29, 77)
HSLhsl(338, 69%, 36%)
HSVhsv(338, 82%, 62%)
CMYKcmyk(0%, 81.5%, 51%, 38.4%)
CIE-LABlab(35.17, 53.68, 4.99)
CIE-LCHlch(35.17, 53.91, 5.31°)
OKLaboklab(46.26% 0.1644 0.0132)
OKLCHoklch(46.26% 0.165 4.6)
XYZxyz(15.6850, 8.5849, 7.8509)
Luminance0.0858 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1D4D #1D9D6D
analogous
#9D1D8D #9D1D4D #9D2D1D
triadic
#9D1D4D #4D9D1D #1D4D9D
tetradic
#9D1D4D #8D9D1D #1D9D6D #2D1D9D
square
#9D1D4D #8D9D1D #1D9D6D #2D1D9D
split-complementary
#9D1D4D #1D9D2D #1D8D9D
monochromatic
#360A1A #691334 #9D1D4D #D12766 #E05589

Accessibility & contrast

On white

7.73
#9D1D4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D1D4D
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1D4D#FFFFFF#000000##FFFFFF
##9D1D4D1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d1d4d;
/* rgb */ color: rgb(157, 29, 77);
/* oklch */ color: oklch(46.3% 0.165 4.6);
Tailwind
colors: {
  custom: {
    50: '#c0687e',
    500: '#9d1d4d',
    950: '#000000',
  },
}
SCSS
$custom: #9d1d4d;
$custom-light: #c0687e;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1d4d",
  "rgb": {
    "r": 157,
    "g": 29,
    "b": 77
  },
  "hsl": {
    "h": 337.5,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46262,
    "c": 0.1649,
    "h": 4.6
  },
  "luminance": 0.08583
}

Semantic roles & 50–950 ramp

primary
#9D1D4D
secondary
#53C399
accent
#ECAA3C
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9D1D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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