#9D1B4B#9D1B4B

#9D1B4B is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.1% C 0.166 H 5.4°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#9D1B4B
RGBrgb(157, 27, 75)
HSLhsl(338, 71%, 36%)
HSVhsv(338, 83%, 62%)
CMYKcmyk(0%, 82.8%, 52.2%, 38.4%)
CIE-LABlab(34.93, 54.05, 5.94)
CIE-LCHlch(34.93, 54.38, 6.27°)
OKLaboklab(46.06% 0.1654 0.0155)
OKLCHoklch(46.06% 0.166 5.4)
XYZxyz(15.5680, 8.4622, 7.4689)
Luminance0.0846 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1B4B #1B9D6D
analogous
#9D1B8C #9D1B4B #9D2C1B
triadic
#9D1B4B #4B9D1B #1B4B9D
tetradic
#9D1B4B #8C9D1B #1B9D6D #2C1B9D
square
#9D1B4B #8C9D1B #1B9D6D #2C1B9D
split-complementary
#9D1B4B #1B9D2C #1B8C9D
monochromatic
#350919 #691232 #9D1B4B #D12464 #E15186

Accessibility & contrast

On white

7.80
#9D1B4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D1B4B
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1B4B#FFFFFF#000000##FFFFFF
##9D1B4B1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E424C
Deuteranopia (green-blind)
#605B48
Tritanopia (blue-blind)
#AC0031
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9d1b4b;
/* rgb */ color: rgb(157, 27, 75);
/* oklch */ color: oklch(46.1% 0.166 5.4);
Tailwind
colors: {
  custom: {
    50: '#c0677d',
    500: '#9d1b4b',
    950: '#000000',
  },
}
SCSS
$custom: #9d1b4b;
$custom-light: #c0677d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1b4b",
  "rgb": {
    "r": 157,
    "g": 27,
    "b": 75
  },
  "hsl": {
    "h": 337.846,
    "s": 70.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46064,
    "c": 0.16609,
    "h": 5.4
  },
  "luminance": 0.0846
}

Semantic roles & 50–950 ramp

primary
#9D1B4B
secondary
#50C499
accent
#EDAB3A
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9D1B4B

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

Preview Lab → · Contrast checker → · Palette generator →

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