#9D1C5B#9D1C5B

#9D1C5B is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.7% C 0.170 H 357.1°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#9D1C5B
RGBrgb(157, 28, 91)
HSLhsl(331, 70%, 36%)
HSVhsv(331, 82%, 62%)
CMYKcmyk(0%, 82.2%, 42%, 38.4%)
CIE-LABlab(35.51, 55.25, -3.57)
CIE-LCHlch(35.51, 55.36, 356.30°)
OKLaboklab(46.65% 0.1701 -0.0087)
OKLCHoklch(46.65% 0.17 357.1)
XYZxyz(16.2094, 8.7561, 10.7320)
Luminance0.0875 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1C5B #1C9D5E
analogous
#9D1C9C #9D1C5B #9D1E1C
triadic
#9D1C5B #5B9D1C #1C5B9D
tetradic
#9D1C5B #9C9D1C #1C9D5E #1E1C9D
square
#9D1C5B #9C9D1C #1C9D5E #1E1C9D
split-complementary
#9D1C5B #1C9D1E #1C9C9D
monochromatic
#35091F #69133D #9D1C5B #D12579 #E05398

Accessibility & contrast

On white

7.63
#9D1C5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#9D1C5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1C5B
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1C5B#FFFFFF#000000##FFFFFF
##9D1C5B1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A445C
Deuteranopia (green-blind)
#5D5C58
Tritanopia (blue-blind)
#AA0039
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9d1c5b;
/* rgb */ color: rgb(157, 28, 91);
/* oklch */ color: oklch(46.7% 0.170 357.1);
Tailwind
colors: {
  custom: {
    50: '#bf6889',
    500: '#9d1c5b',
    950: '#000000',
  },
}
SCSS
$custom: #9d1c5b;
$custom-light: #bf6889;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1c5b",
  "rgb": {
    "r": 157,
    "g": 28,
    "b": 91
  },
  "hsl": {
    "h": 330.698,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46651,
    "c": 0.17028,
    "h": 357.1
  },
  "luminance": 0.08754
}

Semantic roles & 50–950 ramp

primary
#9D1C5B
secondary
#51C38C
accent
#ED963B
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9D1C5B

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

Preview Lab → · Contrast checker → · Palette generator →

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