#9C307F#9C307F
#9C307F is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.7% C 0.167 H 340.3°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #9C307F |
|---|---|
| RGB | rgb(156, 48, 127) |
| HSL | hsl(316, 53%, 40%) |
| HSV | hsv(316, 69%, 61%) |
| CMYK | cmyk(0%, 69.2%, 18.6%, 38.8%) |
| CIE-LAB | lab(39.10, 52.79, -20.86) |
| CIE-LCH | lch(39.10, 56.76, 338.44°) |
| OKLab | oklab(49.7% 0.1572 -0.0562) |
| OKLCH | oklch(49.7% 0.167 340.3) |
| XYZ | xyz(18.5985, 10.7159, 21.1634) |
| Luminance | 0.1071 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.53
Light Eggplant
#894585
ΔE00 5.60
Red Violet
#9E0168
ΔE00 5.94
Bruise
#7E4071
ΔE00 6.74
Barney Purple
#A00498
ΔE00 6.74
Ugly Purple
#A442A0
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C307F #309C4D
analogous
#83309C #9C307F #9C3049
triadic
#9C307F #7F9C30 #307F9C
tetradic
#9C307F #9C8330 #309C4D #30499C
square
#9C307F #9C8330 #309C4D #30499C
split-complementary
#9C307F #499C30 #309C83
monochromatic
#3E1333 #6D2259 #9C307F #C544A3 #D473BA
Accessibility & contrast
On white
6.68
#9C307F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#9C307F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C307F
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C307F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C307F | 1.00 | 6.68 | 3.14 | 6.68 |
| #FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#375181
Deuteranopia (green-blind)
#59627C
Tritanopia (blue-blind)
#A53353
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #9c307f; /* rgb */ color: rgb(156, 48, 127); /* oklch */ color: oklch(49.7% 0.167 340.3);
Tailwind
colors: {
custom: {
50: '#bd71a4',
500: '#9c307f',
950: '#000000',
},
}SCSS
$custom: #9c307f; $custom-light: #bd71a4; $custom-dark: #000000;
JSON
{
"hex": "#9c307f",
"rgb": {
"r": 156,
"g": 48,
"b": 127
},
"hsl": {
"h": 316.111,
"s": 52.941,
"l": 40
},
"oklch": {
"l": 0.49698,
"c": 0.16695,
"h": 340.3
},
"luminance": 0.10714
}Semantic roles & 50–950 ramp
primary
#9C307F
secondary
#6CBC82
accent
#DC724B
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#12080F
muted
#817B7F