#9D1C87#9D1C87

#9D1C87 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.6% C 0.195 H 336.5°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#9D1C87
RGBrgb(157, 28, 135)
HSLhsl(310, 70%, 36%)
HSVhsv(310, 82%, 62%)
CMYKcmyk(0%, 82.2%, 14%, 38.4%)
CIE-LABlab(37.39, 60.65, -28.45)
CIE-LCHlch(37.39, 66.99, 334.87°)
OKLaboklab(48.62% 0.1786 -0.0776)
OKLCHoklch(48.62% 0.195 336.5)
XYZxyz(18.6934, 9.7497, 23.8144)
Luminance0.0975 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1C87 #1C9D32
analogous
#731C9D #9D1C87 #9D1C46
triadic
#9D1C87 #879D1C #1C879D
tetradic
#9D1C87 #9D731C #1C9D32 #1C469D
square
#9D1C87 #9D731C #1C9D32 #1C469D
split-complementary
#9D1C87 #469D1C #1C9D73
monochromatic
#35092E #69135A #9D1C87 #D125B4 #E053C8

Accessibility & contrast

On white

7.12
#9D1C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#9D1C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1C87
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1C87#FFFFFF#000000##FFFFFF
##9D1C871.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4C8A
Deuteranopia (green-blind)
#4F5F84
Tritanopia (blue-blind)
#A62751
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d1c87;
/* rgb */ color: rgb(157, 28, 135);
/* oklch */ color: oklch(48.6% 0.195 336.5);
Tailwind
colors: {
  custom: {
    50: '#be6aaa',
    500: '#9d1c87',
    950: '#000000',
  },
}
SCSS
$custom: #9d1c87;
$custom-light: #be6aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1c87",
  "rgb": {
    "r": 157,
    "g": 28,
    "b": 135
  },
  "hsl": {
    "h": 310.233,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48622,
    "c": 0.19472,
    "h": 336.5
  },
  "luminance": 0.09748
}

Semantic roles & 50–950 ramp

primary
#9D1C87
secondary
#51C365
accent
#ED593B
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9D1C87

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

Preview Lab → · Contrast checker → · Palette generator →

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