#9C407D#9C407D

#9C407D is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.5% C 0.142 H 342.7°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#9C407D
RGBrgb(156, 64, 125)
HSLhsl(320, 42%, 43%)
HSVhsv(320, 59%, 61%)
CMYKcmyk(0%, 59%, 19.9%, 38.8%)
CIE-LABlab(41.56, 45.51, -15.84)
CIE-LCHlch(41.56, 48.19, 340.81°)
OKLaboklab(51.48% 0.1357 -0.0423)
OKLCHoklch(51.48% 0.142 342.7)
XYZxyz(19.2458, 12.2170, 20.7426)
Luminance0.1221 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C407D #409C5F
analogous
#8D409C #9C407D #9C404F
triadic
#9C407D #7D9C40 #407D9C
tetradic
#9C407D #9C8D40 #409C5F #404F9C
square
#9C407D #9C8D40 #409C5F #404F9C
split-complementary
#9C407D #4F9C40 #409C8D
monochromatic
#451C37 #712E5A #9C407D #BC5D9C #CE88B7

Accessibility & contrast

On white

6.10
#9C407D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#9C407D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C407D
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C407D#FFFFFF#000000##FFFFFF
##9C407D1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47587F
Deuteranopia (green-blind)
#61687B
Tritanopia (blue-blind)
#A54059
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9c407d;
/* rgb */ color: rgb(156, 64, 125);
/* oklch */ color: oklch(51.5% 0.142 342.7);
Tailwind
colors: {
  custom: {
    50: '#bc7aa2',
    500: '#9c407d',
    950: '#000000',
  },
}
SCSS
$custom: #9c407d;
$custom-light: #bc7aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#9c407d",
  "rgb": {
    "r": 156,
    "g": 64,
    "b": 125
  },
  "hsl": {
    "h": 320.217,
    "s": 41.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51477,
    "c": 0.14215,
    "h": 342.7
  },
  "luminance": 0.12215
}

Semantic roles & 50–950 ramp

primary
#9C407D
secondary
#7FB992
accent
#D28056
background
#FBF7FA
surface
#F7EEF3
border
#D0C9CD
text
#12090F
muted
#817B7F

Preview Lab

Preview with #9C407D

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

Preview Lab → · Contrast checker → · Palette generator →

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