#9C2F80#9C2F80
#9C2F80 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.6% C 0.169 H 339.8°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #9C2F80 |
|---|---|
| RGB | rgb(156, 47, 128) |
| HSL | hsl(315, 54%, 40%) |
| HSV | hsv(315, 70%, 61%) |
| CMYK | cmyk(0%, 69.9%, 17.9%, 38.8%) |
| CIE-LAB | lab(39.00, 53.32, -21.62) |
| CIE-LCH | lch(39.00, 57.54, 337.93°) |
| OKLab | oklab(49.64% 0.1586 -0.0583) |
| OKLCH | oklch(49.64% 0.169 339.8) |
| XYZ | xyz(18.6236, 10.6612, 21.4949) |
| Luminance | 0.1066 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.24
Light Eggplant
#894585
ΔE00 5.61
Red Violet
#9E0168
ΔE00 6.02
Barney Purple
#A00498
ΔE00 6.42
Ugly Purple
#A442A0
ΔE00 6.86
Bruise
#7E4071
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C2F80 #2F9C4B
analogous
#822F9C #9C2F80 #9C2F49
triadic
#9C2F80 #809C2F #2F809C
tetradic
#9C2F80 #9C822F #2F9C4B #2F499C
square
#9C2F80 #9C822F #2F9C4B #2F499C
split-complementary
#9C2F80 #499C2F #2F9C82
monochromatic
#3E1333 #6D2159 #9C2F80 #C642A4 #D471BB
Accessibility & contrast
On white
6.71
#9C2F80 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#9C2F80 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C2F80
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C2F80 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C2F80 | 1.00 | 6.71 | 3.13 | 6.71 |
| #FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#365182
Deuteranopia (green-blind)
#58627D
Tritanopia (blue-blind)
#A53253
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #9c2f80; /* rgb */ color: rgb(156, 47, 128); /* oklch */ color: oklch(49.6% 0.169 339.8);
Tailwind
colors: {
custom: {
50: '#bd71a5',
500: '#9c2f80',
950: '#000000',
},
}SCSS
$custom: #9c2f80; $custom-light: #bd71a5; $custom-dark: #000000;
JSON
{
"hex": "#9c2f80",
"rgb": {
"r": 156,
"g": 47,
"b": 128
},
"hsl": {
"h": 315.413,
"s": 53.695,
"l": 39.804
},
"oklch": {
"l": 0.49644,
"c": 0.16894,
"h": 339.8
},
"luminance": 0.10659
}Semantic roles & 50–950 ramp
primary
#9C2F80
secondary
#6BBC80
accent
#DD704B
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#12080F
muted
#817B7F