#9D1E81#9D1E81

#9D1E81 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.4% C 0.189 H 339.1°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#9D1E81
RGBrgb(157, 30, 129)
HSLhsl(313, 68%, 37%)
HSVhsv(313, 81%, 62%)
CMYKcmyk(0%, 80.9%, 17.8%, 38.4%)
CIE-LABlab(37.27, 59.28, -24.92)
CIE-LCHlch(37.27, 64.31, 337.20°)
OKLaboklab(48.44% 0.1765 -0.0676)
OKLCHoklch(48.44% 0.189 339.1)
XYZxyz(18.3318, 9.6835, 21.6683)
Luminance0.0968 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1E81 #1E9D3A
analogous
#7A1E9D #9D1E81 #9D1E42
triadic
#9D1E81 #819D1E #1E819D
tetradic
#9D1E81 #9D7A1E #1E9D3A #1E429D
square
#9D1E81 #9D7A1E #1E9D3A #1E429D
split-complementary
#9D1E81 #429D1E #1E9D7A
monochromatic
#360A2D #6A1457 #9D1E81 #D028AB #DF57C1

Accessibility & contrast

On white

7.15
#9D1E81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#9D1E81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1E81
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1E81#FFFFFF#000000##FFFFFF
##9D1E811.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274B84
Deuteranopia (green-blind)
#525F7E
Tritanopia (blue-blind)
#A6244F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d1e81;
/* rgb */ color: rgb(157, 30, 129);
/* oklch */ color: oklch(48.4% 0.189 339.1);
Tailwind
colors: {
  custom: {
    50: '#be6aa6',
    500: '#9d1e81',
    950: '#000000',
  },
}
SCSS
$custom: #9d1e81;
$custom-light: #be6aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1e81",
  "rgb": {
    "r": 157,
    "g": 30,
    "b": 129
  },
  "hsl": {
    "h": 313.228,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48437,
    "c": 0.18899,
    "h": 339.1
  },
  "luminance": 0.09682
}

Semantic roles & 50–950 ramp

primary
#9D1E81
secondary
#54C26D
accent
#EB633D
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9D1E81

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

Preview Lab → · Contrast checker → · Palette generator →

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