#9C1D78#9C1D78

#9C1D78 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.8% C 0.184 H 342.6°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#9C1D78
RGBrgb(156, 29, 120)
HSLhsl(317, 69%, 36%)
HSVhsv(317, 81%, 61%)
CMYKcmyk(0%, 81.4%, 23.1%, 38.8%)
CIE-LABlab(36.56, 58.10, -20.42)
CIE-LCHlch(36.56, 61.58, 340.63°)
OKLaboklab(47.76% 0.1752 -0.0548)
OKLCHoklch(47.76% 0.184 342.6)
XYZxyz(17.5405, 9.3046, 18.6379)
Luminance0.0930 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1D78 #1D9C41
analogous
#811D9C #9C1D78 #9C1D39
triadic
#9C1D78 #789C1D #1D789C
tetradic
#9C1D78 #9C811D #1D9C41 #1D399C
square
#9C1D78 #9C811D #1D9C41 #1D399C
split-complementary
#9C1D78 #399C1D #1D9C81
monochromatic
#350A29 #681350 #9C1D78 #D027A0 #DF54B8

Accessibility & contrast

On white

7.34
#9C1D78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#9C1D78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C1D78
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1D78#FFFFFF#000000##FFFFFF
##9C1D781.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C497A
Deuteranopia (green-blind)
#555D75
Tritanopia (blue-blind)
#A61E49
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9c1d78;
/* rgb */ color: rgb(156, 29, 120);
/* oklch */ color: oklch(47.8% 0.184 342.6);
Tailwind
colors: {
  custom: {
    50: '#bd699f',
    500: '#9c1d78',
    950: '#000000',
  },
}
SCSS
$custom: #9c1d78;
$custom-light: #bd699f;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1d78",
  "rgb": {
    "r": 156,
    "g": 29,
    "b": 120
  },
  "hsl": {
    "h": 317.008,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47758,
    "c": 0.18358,
    "h": 342.6
  },
  "luminance": 0.09303
}

Semantic roles & 50–950 ramp

primary
#9C1D78
secondary
#52C272
accent
#EB6E3C
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9C1D78

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

Preview Lab → · Contrast checker → · Palette generator →

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