#9D1C81#9D1C81

#9D1C81 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.3% C 0.191 H 339.0°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#9D1C81
RGBrgb(157, 28, 129)
HSLhsl(313, 70%, 36%)
HSVhsv(313, 82%, 62%)
CMYKcmyk(0%, 82.2%, 17.8%, 38.4%)
CIE-LABlab(37.09, 59.80, -25.21)
CIE-LCHlch(37.09, 64.90, 337.14°)
OKLaboklab(48.31% 0.1781 -0.0683)
OKLCHoklch(48.31% 0.191 339)
XYZxyz(18.2828, 9.5854, 21.6519)
Luminance0.0958 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1C81 #1C9D38
analogous
#791C9D #9D1C81 #9D1C41
triadic
#9D1C81 #819D1C #1C819D
tetradic
#9D1C81 #9D791C #1C9D38 #1C419D
square
#9D1C81 #9D791C #1C9D38 #1C419D
split-complementary
#9D1C81 #419D1C #1C9D79
monochromatic
#35092C #691356 #9D1C81 #D125AC #E053C2

Accessibility & contrast

On white

7.20
#9D1C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#9D1C81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1C81
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1C81#FFFFFF#000000##FFFFFF
##9D1C811.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254B84
Deuteranopia (green-blind)
#525E7E
Tritanopia (blue-blind)
#A6234E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9d1c81;
/* rgb */ color: rgb(157, 28, 129);
/* oklch */ color: oklch(48.3% 0.191 339.0);
Tailwind
colors: {
  custom: {
    50: '#be69a6',
    500: '#9d1c81',
    950: '#000000',
  },
}
SCSS
$custom: #9d1c81;
$custom-light: #be69a6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1c81",
  "rgb": {
    "r": 157,
    "g": 28,
    "b": 129
  },
  "hsl": {
    "h": 313.023,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48308,
    "c": 0.19075,
    "h": 339
  },
  "luminance": 0.09584
}

Semantic roles & 50–950 ramp

primary
#9D1C81
secondary
#51C36A
accent
#ED623B
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9D1C81

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

Preview Lab → · Contrast checker → · Palette generator →

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