#9C1D7C#9C1D7C

#9C1D7C is a mid, vivid pink. Relative luminance 0.094; OKLCH L 48.0% C 0.186 H 340.8°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#9C1D7C
RGBrgb(156, 29, 124)
HSLhsl(315, 69%, 36%)
HSVhsv(315, 81%, 61%)
CMYKcmyk(0%, 81.4%, 20.5%, 38.8%)
CIE-LABlab(36.75, 58.63, -22.63)
CIE-LCHlch(36.75, 62.85, 338.89°)
OKLaboklab(47.95% 0.1758 -0.0611)
OKLCHoklch(47.95% 0.186 340.8)
XYZxyz(17.7883, 9.4037, 19.9432)
Luminance0.0940 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1D7C #1D9C3D
analogous
#7D1D9C #9C1D7C #9C1D3D
triadic
#9C1D7C #7C9C1D #1D7C9C
tetradic
#9C1D7C #9C7D1D #1D9C3D #1D3D9C
square
#9C1D7C #9C7D1D #1D9C3D #1D3D9C
split-complementary
#9C1D7C #3D9C1D #1D9C7D
monochromatic
#350A2A #681353 #9C1D7C #D027A5 #DF54BC

Accessibility & contrast

On white

7.29
#9C1D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#9C1D7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C1D7C
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1D7C#FFFFFF#000000##FFFFFF
##9C1D7C1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294A7E
Deuteranopia (green-blind)
#535E79
Tritanopia (blue-blind)
#A6214C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9c1d7c;
/* rgb */ color: rgb(156, 29, 124);
/* oklch */ color: oklch(48.0% 0.186 340.8);
Tailwind
colors: {
  custom: {
    50: '#bd69a2',
    500: '#9c1d7c',
    950: '#000000',
  },
}
SCSS
$custom: #9c1d7c;
$custom-light: #bd69a2;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1d7c",
  "rgb": {
    "r": 156,
    "g": 29,
    "b": 124
  },
  "hsl": {
    "h": 315.118,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47952,
    "c": 0.18608,
    "h": 340.8
  },
  "luminance": 0.09402
}

Semantic roles & 50–950 ramp

primary
#9C1D7C
secondary
#52C26F
accent
#EB683C
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9C1D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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