#9C1D7D#9C1D7D

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

Color values

HEX#9C1D7D
RGBrgb(156, 29, 125)
HSLhsl(315, 69%, 36%)
HSVhsv(315, 81%, 61%)
CMYKcmyk(0%, 81.4%, 19.9%, 38.8%)
CIE-LABlab(36.80, 58.77, -23.18)
CIE-LCHlch(36.80, 63.17, 338.47°)
OKLaboklab(48% 0.1759 -0.0626)
OKLCHoklch(48% 0.187 340.4)
XYZxyz(17.8519, 9.4292, 20.2779)
Luminance0.0943 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1D7D #1D9C3C
analogous
#7C1D9C #9C1D7D #9C1D3D
triadic
#9C1D7D #7D9C1D #1D7D9C
tetradic
#9C1D7D #9C7C1D #1D9C3C #1D3D9C
square
#9C1D7D #9C7C1D #1D9C3C #1D3D9C
split-complementary
#9C1D7D #3D9C1D #1D9C7C
monochromatic
#350A2A #681354 #9C1D7D #D027A6 #DF54BD

Accessibility & contrast

On white

7.28
#9C1D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#9C1D7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C1D7D
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1D7D#FFFFFF#000000##FFFFFF
##9C1D7D1.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284A7F
Deuteranopia (green-blind)
#535E7A
Tritanopia (blue-blind)
#A6224C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9c1d7d;
/* rgb */ color: rgb(156, 29, 125);
/* oklch */ color: oklch(48.0% 0.187 340.4);
Tailwind
colors: {
  custom: {
    50: '#bd69a3',
    500: '#9c1d7d',
    950: '#000000',
  },
}
SCSS
$custom: #9c1d7d;
$custom-light: #bd69a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1d7d",
  "rgb": {
    "r": 156,
    "g": 29,
    "b": 125
  },
  "hsl": {
    "h": 314.646,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48002,
    "c": 0.18672,
    "h": 340.4
  },
  "luminance": 0.09427
}

Semantic roles & 50–950 ramp

primary
#9C1D7D
secondary
#52C26E
accent
#EB673C
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9C1D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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