#9C1D82#9C1D82

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

Color values

HEX#9C1D82
RGBrgb(156, 29, 130)
HSLhsl(312, 69%, 36%)
HSVhsv(312, 81%, 61%)
CMYKcmyk(0%, 81.4%, 16.7%, 38.8%)
CIE-LABlab(37.04, 59.46, -25.91)
CIE-LCHlch(37.04, 64.86, 336.45°)
OKLaboklab(48.26% 0.1765 -0.0704)
OKLCHoklch(48.26% 0.19 338.3)
XYZxyz(18.1794, 9.5602, 22.0026)
Luminance0.0956 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1D82 #1D9C37
analogous
#771D9C #9C1D82 #9C1D43
triadic
#9C1D82 #829C1D #1D829C
tetradic
#9C1D82 #9C771D #1D9C37 #1D439C
square
#9C1D82 #9C771D #1D9C37 #1D439C
split-complementary
#9C1D82 #439C1D #1D9C77
monochromatic
#350A2C #681357 #9C1D82 #D027AD #DF54C3

Accessibility & contrast

On white

7.21
#9C1D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#9C1D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C1D82
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1D82#FFFFFF#000000##FFFFFF
##9C1D821.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244B85
Deuteranopia (green-blind)
#515E7F
Tritanopia (blue-blind)
#A5254F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9c1d82;
/* rgb */ color: rgb(156, 29, 130);
/* oklch */ color: oklch(48.3% 0.190 338.3);
Tailwind
colors: {
  custom: {
    50: '#bd6aa6',
    500: '#9c1d82',
    950: '#000000',
  },
}
SCSS
$custom: #9c1d82;
$custom-light: #bd6aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1d82",
  "rgb": {
    "r": 156,
    "g": 29,
    "b": 130
  },
  "hsl": {
    "h": 312.283,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48256,
    "c": 0.18997,
    "h": 338.3
  },
  "luminance": 0.09558
}

Semantic roles & 50–950 ramp

primary
#9C1D82
secondary
#52C269
accent
#EB603C
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9C1D82

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

Preview Lab → · Contrast checker → · Palette generator →

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