#9D1B4E#9D1B4E

#9D1B4E is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.2% C 0.167 H 3.8°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#9D1B4E
RGBrgb(157, 27, 78)
HSLhsl(336, 71%, 36%)
HSVhsv(336, 83%, 62%)
CMYKcmyk(0%, 82.8%, 50.3%, 38.4%)
CIE-LABlab(35.01, 54.31, 4.11)
CIE-LCHlch(35.01, 54.46, 4.32°)
OKLaboklab(46.15% 0.1665 0.011)
OKLCHoklch(46.15% 0.167 3.8)
XYZxyz(15.6731, 8.5042, 8.0224)
Luminance0.0850 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1B4E #1B9D6A
analogous
#9D1B8F #9D1B4E #9D291B
triadic
#9D1B4E #4E9D1B #1B4E9D
tetradic
#9D1B4E #8F9D1B #1B9D6A #291B9D
square
#9D1B4E #8F9D1B #1B9D6A #291B9D
split-complementary
#9D1B4E #1B9D29 #1B8F9D
monochromatic
#35091A #691234 #9D1B4E #D12468 #E1518A

Accessibility & contrast

On white

7.78
#9D1B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#9D1B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1B4E
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1B4E#FFFFFF#000000##FFFFFF
##9D1B4E1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D424F
Deuteranopia (green-blind)
#605B4B
Tritanopia (blue-blind)
#AB0032
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9d1b4e;
/* rgb */ color: rgb(157, 27, 78);
/* oklch */ color: oklch(46.2% 0.167 3.8);
Tailwind
colors: {
  custom: {
    50: '#c0677f',
    500: '#9d1b4e',
    950: '#000000',
  },
}
SCSS
$custom: #9d1b4e;
$custom-light: #c0677f;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1b4e",
  "rgb": {
    "r": 157,
    "g": 27,
    "b": 78
  },
  "hsl": {
    "h": 336.462,
    "s": 70.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46153,
    "c": 0.16684,
    "h": 3.8
  },
  "luminance": 0.08502
}

Semantic roles & 50–950 ramp

primary
#9D1B4E
secondary
#50C496
accent
#EDA73A
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9D1B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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