#9C417D#9C417D

#9C417D is a mid, vivid pink. Relative luminance 0.123; OKLCH L 51.6% C 0.141 H 342.8°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#9C417D
RGBrgb(156, 65, 125)
HSLhsl(320, 41%, 43%)
HSVhsv(320, 58%, 61%)
CMYKcmyk(0%, 58.3%, 19.9%, 38.8%)
CIE-LABlab(41.74, 45.03, -15.57)
CIE-LCHlch(41.74, 47.65, 340.93°)
OKLaboklab(51.61% 0.1343 -0.0415)
OKLCHoklch(51.61% 0.141 342.8)
XYZxyz(19.3027, 12.3308, 20.7615)
Luminance0.1233 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C417D #419C60
analogous
#8D419C #9C417D #9C414F
triadic
#9C417D #7D9C41 #417D9C
tetradic
#9C417D #9C8D41 #419C60 #414F9C
square
#9C417D #9C8D41 #419C60 #414F9C
split-complementary
#9C417D #4F9C41 #419C8D
monochromatic
#461D38 #712F5A #9C417D #BC5E9C #CE89B7

Accessibility & contrast

On white

6.06
#9C417D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#9C417D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C417D
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C417D#FFFFFF#000000##FFFFFF
##9C417D1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48597F
Deuteranopia (green-blind)
#62687B
Tritanopia (blue-blind)
#A54159
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9c417d;
/* rgb */ color: rgb(156, 65, 125);
/* oklch */ color: oklch(51.6% 0.141 342.8);
Tailwind
colors: {
  custom: {
    50: '#bc7aa2',
    500: '#9c417d',
    950: '#000000',
  },
}
SCSS
$custom: #9c417d;
$custom-light: #bc7aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#9c417d",
  "rgb": {
    "r": 156,
    "g": 65,
    "b": 125
  },
  "hsl": {
    "h": 320.44,
    "s": 41.176,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51609,
    "c": 0.14055,
    "h": 342.8
  },
  "luminance": 0.12329
}

Semantic roles & 50–950 ramp

primary
#9C417D
secondary
#80B993
accent
#D18057
background
#FBF7FA
surface
#F7EEF3
border
#D0C9CD
text
#12090F
muted
#817B7F

Preview Lab

Preview with #9C417D

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

Preview Lab → · Contrast checker → · Palette generator →

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