#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 |
|---|---|
| RGB | rgb(156, 64, 125) |
| HSL | hsl(320, 42%, 43%) |
| HSV | hsv(320, 59%, 61%) |
| CMYK | cmyk(0%, 59%, 19.9%, 38.8%) |
| CIE-LAB | lab(41.56, 45.51, -15.84) |
| CIE-LCH | lch(41.56, 48.19, 340.81°) |
| OKLab | oklab(51.48% 0.1357 -0.0423) |
| OKLCH | oklch(51.48% 0.142 342.7) |
| XYZ | xyz(19.2458, 12.2170, 20.7426) |
| Luminance | 0.1221 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Eggplant
#894585
ΔE00 5.30
Light Plum
#9D5783
ΔE00 6.00
Purpleish
#98568D
ΔE00 6.02
Purplish
#94568C
ΔE00 6.23
Bruise
#7E4071
ΔE00 6.23
Warm Purple
#952E8F
ΔE00 7.12
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 |
|---|---|---|---|---|
| ##9C407D | 1.00 | 6.10 | 3.44 | 6.10 |
| #FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.10 | 1.00 | 21.00 | 1.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