#9D1B4A#9D1B4A

#9D1B4A is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.0% C 0.166 H 5.9°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#9D1B4A
RGBrgb(157, 27, 74)
HSLhsl(338, 71%, 36%)
HSVhsv(338, 83%, 62%)
CMYKcmyk(0%, 82.8%, 52.9%, 38.4%)
CIE-LABlab(34.90, 53.97, 6.55)
CIE-LCHlch(34.90, 54.37, 6.92°)
OKLaboklab(46.04% 0.165 0.017)
OKLCHoklch(46.04% 0.166 5.9)
XYZxyz(15.5340, 8.4486, 7.2900)
Luminance0.0845 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1B4A #1B9D6E
analogous
#9D1B8B #9D1B4A #9D2D1B
triadic
#9D1B4A #4A9D1B #1B4A9D
tetradic
#9D1B4A #8B9D1B #1B9D6E #2D1B9D
square
#9D1B4A #8B9D1B #1B9D6E #2D1B9D
split-complementary
#9D1B4A #1B9D2D #1B8B9D
monochromatic
#350919 #691231 #9D1B4A #D12463 #E15185

Accessibility & contrast

On white

7.81
#9D1B4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#9D1B4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1B4A
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1B4A#FFFFFF#000000##FFFFFF
##9D1B4A1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E424B
Deuteranopia (green-blind)
#605B47
Tritanopia (blue-blind)
#AC0030
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9d1b4a;
/* rgb */ color: rgb(157, 27, 74);
/* oklch */ color: oklch(46.0% 0.166 5.9);
Tailwind
colors: {
  custom: {
    50: '#c0677c',
    500: '#9d1b4a',
    950: '#000000',
  },
}
SCSS
$custom: #9d1b4a;
$custom-light: #c0677c;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1b4a",
  "rgb": {
    "r": 157,
    "g": 27,
    "b": 74
  },
  "hsl": {
    "h": 338.308,
    "s": 70.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46035,
    "c": 0.16587,
    "h": 5.9
  },
  "luminance": 0.08446
}

Semantic roles & 50–950 ramp

primary
#9D1B4A
secondary
#50C49A
accent
#EDAD3A
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9D1B4A

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

Preview Lab → · Contrast checker → · Palette generator →

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