#9D1C84#9D1C84

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

Color values

HEX#9D1C84
RGBrgb(157, 28, 132)
HSLhsl(312, 70%, 36%)
HSVhsv(312, 82%, 62%)
CMYKcmyk(0%, 82.2%, 15.9%, 38.4%)
CIE-LABlab(37.24, 60.22, -26.83)
CIE-LCHlch(37.24, 65.93, 335.98°)
OKLaboklab(48.46% 0.1784 -0.073)
OKLCHoklch(48.46% 0.193 337.7)
XYZxyz(18.4852, 9.6664, 22.7176)
Luminance0.0966 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1C84 #1C9D35
analogous
#761C9D #9D1C84 #9D1C44
triadic
#9D1C84 #849D1C #1C849D
tetradic
#9D1C84 #9D761C #1C9D35 #1C449D
square
#9D1C84 #9D761C #1C9D35 #1C449D
split-complementary
#9D1C84 #449D1C #1C9D76
monochromatic
#35092D #691358 #9D1C84 #D125B0 #E053C5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D1C84#FFFFFF#000000##FFFFFF
##9D1C841.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)
#224B87
Deuteranopia (green-blind)
#505F81
Tritanopia (blue-blind)
#A62550
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d1c84;
/* rgb */ color: rgb(157, 28, 132);
/* oklch */ color: oklch(48.5% 0.193 337.7);
Tailwind
colors: {
  custom: {
    50: '#be6aa8',
    500: '#9d1c84',
    950: '#000000',
  },
}
SCSS
$custom: #9d1c84;
$custom-light: #be6aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1c84",
  "rgb": {
    "r": 157,
    "g": 28,
    "b": 132
  },
  "hsl": {
    "h": 311.628,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48463,
    "c": 0.19271,
    "h": 337.7
  },
  "luminance": 0.09665
}

Semantic roles & 50–950 ramp

primary
#9D1C84
secondary
#51C368
accent
#ED5E3B
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9D1C84

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

Preview Lab → · Contrast checker → · Palette generator →

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