#9D1C78#9D1C78

#9D1C78 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.9% C 0.185 H 342.9°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#9D1C78
RGBrgb(157, 28, 120)
HSLhsl(317, 70%, 36%)
HSVhsv(317, 82%, 62%)
CMYKcmyk(0%, 82.2%, 23.6%, 38.4%)
CIE-LABlab(36.66, 58.59, -20.25)
CIE-LCHlch(36.66, 62.00, 340.93°)
OKLaboklab(47.86% 0.1769 -0.0543)
OKLCHoklch(47.86% 0.185 342.9)
XYZxyz(17.7107, 9.3566, 18.6390)
Luminance0.0935 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1C78 #1C9D41
analogous
#821C9D #9D1C78 #9D1C38
triadic
#9D1C78 #789D1C #1C789D
tetradic
#9D1C78 #9D821C #1C9D41 #1C389D
square
#9D1C78 #9D821C #1C9D41 #1C389D
split-complementary
#9D1C78 #389D1C #1C9D82
monochromatic
#350929 #691350 #9D1C78 #D125A0 #E053B8

Accessibility & contrast

On white

7.31
#9D1C78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#9D1C78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1C78
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1C78#FFFFFF#000000##FFFFFF
##9D1C781.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d1c78;
/* rgb */ color: rgb(157, 28, 120);
/* oklch */ color: oklch(47.9% 0.185 342.9);
Tailwind
colors: {
  custom: {
    50: '#be699f',
    500: '#9d1c78',
    950: '#000000',
  },
}
SCSS
$custom: #9d1c78;
$custom-light: #be699f;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1c78",
  "rgb": {
    "r": 157,
    "g": 28,
    "b": 120
  },
  "hsl": {
    "h": 317.209,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47863,
    "c": 0.18507,
    "h": 342.9
  },
  "luminance": 0.09355
}

Semantic roles & 50–950 ramp

primary
#9D1C78
secondary
#51C372
accent
#ED6E3B
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9D1C78

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

Preview Lab → · Contrast checker → · Palette generator →

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