#9D1B4C#9D1B4C

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

Color values

HEX#9D1B4C
RGBrgb(157, 27, 76)
HSLhsl(337, 71%, 36%)
HSVhsv(337, 83%, 62%)
CMYKcmyk(0%, 82.8%, 51.6%, 38.4%)
CIE-LABlab(34.96, 54.14, 5.32)
CIE-LCHlch(34.96, 54.40, 5.62°)
OKLaboklab(46.09% 0.1657 0.014)
OKLCHoklch(46.09% 0.166 4.8)
XYZxyz(15.6025, 8.4760, 7.6505)
Luminance0.0847 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1B4C #1B9D6C
analogous
#9D1B8D #9D1B4C #9D2B1B
triadic
#9D1B4C #4C9D1B #1B4C9D
tetradic
#9D1B4C #8D9D1B #1B9D6C #2B1B9D
square
#9D1B4C #8D9D1B #1B9D6C #2B1B9D
split-complementary
#9D1B4C #1B9D2B #1B8D9D
monochromatic
#350919 #691233 #9D1B4C #D12465 #E15187

Accessibility & contrast

On white

7.79
#9D1B4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D1B4C
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1B4C#FFFFFF#000000##FFFFFF
##9D1B4C1.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E424D
Deuteranopia (green-blind)
#605B49
Tritanopia (blue-blind)
#AB0031
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9d1b4c;
/* rgb */ color: rgb(157, 27, 76);
/* oklch */ color: oklch(46.1% 0.166 4.8);
Tailwind
colors: {
  custom: {
    50: '#c0677d',
    500: '#9d1b4c',
    950: '#000000',
  },
}
SCSS
$custom: #9d1b4c;
$custom-light: #c0677d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1b4c",
  "rgb": {
    "r": 157,
    "g": 27,
    "b": 76
  },
  "hsl": {
    "h": 337.385,
    "s": 70.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46093,
    "c": 0.16633,
    "h": 4.8
  },
  "luminance": 0.08474
}

Semantic roles & 50–950 ramp

primary
#9D1B4C
secondary
#50C498
accent
#EDAA3A
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9D1B4C

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

Preview Lab → · Contrast checker → · Palette generator →

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