#9C2F86#9C2F86
#9C2F86 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.9% C 0.173 H 337.0°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #9C2F86 |
|---|---|
| RGB | rgb(156, 47, 134) |
| HSL | hsl(312, 54%, 40%) |
| HSV | hsv(312, 70%, 61%) |
| CMYK | cmyk(0%, 69.9%, 14.1%, 38.8%) |
| CIE-LAB | lab(39.28, 54.22, -24.89) |
| CIE-LCH | lch(39.28, 59.66, 335.35°) |
| OKLab | oklab(49.94% 0.1595 -0.0676) |
| OKLCH | oklch(49.94% 0.173 337) |
| XYZ | xyz(19.0302, 10.8239, 23.6366) |
| Luminance | 0.1082 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.00
Light Eggplant
#894585
ΔE00 5.32
Barney Purple
#A00498
ΔE00 5.35
Ugly Purple
#A442A0
ΔE00 5.89
Medium Purple
#9E43A2
ΔE00 6.28
Red Violet
#9E0168
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C2F86 #2F9C45
analogous
#7C2F9C #9C2F86 #9C2F50
triadic
#9C2F86 #869C2F #2F869C
tetradic
#9C2F86 #9C7C2F #2F9C45 #2F509C
square
#9C2F86 #9C7C2F #2F9C45 #2F509C
split-complementary
#9C2F86 #509C2F #2F9C7C
monochromatic
#3E1335 #6D215E #9C2F86 #C642AB #D471C0
Accessibility & contrast
On white
6.64
#9C2F86 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#9C2F86 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C2F86
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C2F86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C2F86 | 1.00 | 6.64 | 3.16 | 6.64 |
| #FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#325288
Deuteranopia (green-blind)
#566383
Tritanopia (blue-blind)
#A43556
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #9c2f86; /* rgb */ color: rgb(156, 47, 134); /* oklch */ color: oklch(49.9% 0.173 337.0);
Tailwind
colors: {
custom: {
50: '#bd71a9',
500: '#9c2f86',
950: '#000000',
},
}SCSS
$custom: #9c2f86; $custom-light: #bd71a9; $custom-dark: #000000;
JSON
{
"hex": "#9c2f86",
"rgb": {
"r": 156,
"g": 47,
"b": 134
},
"hsl": {
"h": 312.11,
"s": 53.695,
"l": 39.804
},
"oklch": {
"l": 0.49937,
"c": 0.1732,
"h": 337
},
"luminance": 0.10822
}Semantic roles & 50–950 ramp
primary
#9C2F86
secondary
#6BBC7B
accent
#DD684B
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120810
muted
#817B7F