#9D1C7B#9D1C7B

#9D1C7B is a mid, vivid pink. Relative luminance 0.094; OKLCH L 48.0% C 0.187 H 341.6°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#9D1C7B
RGBrgb(157, 28, 123)
HSLhsl(316, 70%, 36%)
HSVhsv(316, 82%, 62%)
CMYKcmyk(0%, 82.2%, 21.7%, 38.4%)
CIE-LABlab(36.80, 58.99, -21.92)
CIE-LCHlch(36.80, 62.93, 339.62°)
OKLaboklab(48.01% 0.1774 -0.059)
OKLCHoklch(48.01% 0.187 341.6)
XYZxyz(17.8957, 9.4306, 19.6129)
Luminance0.0943 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1C7B #1C9D3E
analogous
#7F1C9D #9D1C7B #9D1C3B
triadic
#9D1C7B #7B9D1C #1C7B9D
tetradic
#9D1C7B #9D7F1C #1C9D3E #1C3B9D
square
#9D1C7B #9D7F1C #1C9D3E #1C3B9D
split-complementary
#9D1C7B #3B9D1C #1C9D7F
monochromatic
#35092A #691352 #9D1C7B #D125A4 #E053BB

Accessibility & contrast

On white

7.28
#9D1C7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#9D1C7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1C7B
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1C7B#FFFFFF#000000##FFFFFF
##9D1C7B1.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A497D
Deuteranopia (green-blind)
#545E78
Tritanopia (blue-blind)
#A71F4B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9d1c7b;
/* rgb */ color: rgb(157, 28, 123);
/* oklch */ color: oklch(48.0% 0.187 341.6);
Tailwind
colors: {
  custom: {
    50: '#be69a1',
    500: '#9d1c7b',
    950: '#000000',
  },
}
SCSS
$custom: #9d1c7b;
$custom-light: #be69a1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1c7b",
  "rgb": {
    "r": 157,
    "g": 28,
    "b": 123
  },
  "hsl": {
    "h": 315.814,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48007,
    "c": 0.18692,
    "h": 341.6
  },
  "luminance": 0.09429
}

Semantic roles & 50–950 ramp

primary
#9D1C7B
secondary
#51C36F
accent
#ED6A3B
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070F
muted
#827A7E

Preview Lab

Preview with #9D1C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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