#9D1A87#9D1A87

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

Color values

HEX#9D1A87
RGBrgb(157, 26, 135)
HSLhsl(310, 72%, 36%)
HSVhsv(310, 83%, 62%)
CMYKcmyk(0%, 83.4%, 14%, 38.4%)
CIE-LABlab(37.22, 61.13, -28.71)
CIE-LCHlch(37.22, 67.54, 334.84°)
OKLaboklab(48.5% 0.18 -0.0784)
OKLCHoklch(48.5% 0.196 336.5)
XYZxyz(18.6476, 9.6580, 23.7991)
Luminance0.0966 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1A87 #1A9D30
analogous
#711A9D #9D1A87 #9D1A45
triadic
#9D1A87 #879D1A #1A879D
tetradic
#9D1A87 #9D711A #1A9D30 #1A459D
square
#9D1A87 #9D711A #1A9D30 #1A459D
split-complementary
#9D1A87 #459D1A #1A9D71
monochromatic
#34092D #68115A #9D1A87 #D223B4 #E24FC9

Accessibility & contrast

On white

7.16
#9D1A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9D1A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1A87
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1A87#FFFFFF#000000##FFFFFF
##9D1A871.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4B8A
Deuteranopia (green-blind)
#4F5E84
Tritanopia (blue-blind)
#A62651
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d1a87;
/* rgb */ color: rgb(157, 26, 135);
/* oklch */ color: oklch(48.5% 0.196 336.5);
Tailwind
colors: {
  custom: {
    50: '#be69aa',
    500: '#9d1a87',
    950: '#000000',
  },
}
SCSS
$custom: #9d1a87;
$custom-light: #be69aa;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1a87",
  "rgb": {
    "r": 157,
    "g": 26,
    "b": 135
  },
  "hsl": {
    "h": 310.076,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48502,
    "c": 0.19636,
    "h": 336.5
  },
  "luminance": 0.09656
}

Semantic roles & 50–950 ramp

primary
#9D1A87
secondary
#4EC462
accent
#EE5839
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9D1A87

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

Preview Lab → · Contrast checker → · Palette generator →

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