#9C2157#9C2157
#9C2157 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.7% C 0.163 H 359.5°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).
Color values
| HEX | #9C2157 |
|---|---|
| RGB | rgb(156, 33, 87) |
| HSL | hsl(334, 65%, 37%) |
| HSV | hsv(334, 79%, 61%) |
| CMYK | cmyk(0%, 78.8%, 44.2%, 38.8%) |
| CIE-LAB | lab(35.69, 53.15, -0.76) |
| CIE-LCH | lch(35.69, 53.16, 359.18°) |
| OKLab | oklab(46.7% 0.1634 -0.0014) |
| OKLCH | oklch(46.7% 0.163 359.5) |
| XYZ | xyz(15.9757, 8.8459, 9.8811) |
| Luminance | 0.0884 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 2.37
Dark Fuchsia
#9D0759
ΔE00 2.67
Berry
#990F4B
ΔE00 2.93
Deep Magenta
#A0025C
ΔE00 3.09
Mulberry
#920A4E
ΔE00 3.40
Reddish Purple
#910951
ΔE00 3.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C2157 #219C66
analogous
#9C2194 #9C2157 #9C2921
triadic
#9C2157 #579C21 #21579C
tetradic
#9C2157 #949C21 #219C66 #29219C
square
#9C2157 #949C21 #219C66 #29219C
split-complementary
#9C2157 #219C29 #21949C
monochromatic
#370C1F #69163B #9C2157 #CF2C73 #DC5B94
Accessibility & contrast
On white
7.58
#9C2157 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#9C2157 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C2157
7.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C2157 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C2157 | 1.00 | 7.58 | 2.77 | 7.58 |
| #FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D4558
Deuteranopia (green-blind)
#5F5C54
Tritanopia (blue-blind)
#A90739
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #9c2157; /* rgb */ color: rgb(156, 33, 87); /* oklch */ color: oklch(46.7% 0.163 359.5);
Tailwind
colors: {
custom: {
50: '#be6986',
500: '#9c2157',
950: '#000000',
},
}SCSS
$custom: #9c2157; $custom-light: #be6986; $custom-dark: #000000;
JSON
{
"hex": "#9c2157",
"rgb": {
"r": 156,
"g": 33,
"b": 87
},
"hsl": {
"h": 333.659,
"s": 65.079,
"l": 37.059
},
"oklch": {
"l": 0.46701,
"c": 0.16336,
"h": 359.5
},
"luminance": 0.08844
}Semantic roles & 50–950 ramp
primary
#9C2157
secondary
#58C193
accent
#E89E40
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C