#9C2156#9C2156
#9C2156 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.7% C 0.163 H 0.1°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).
Color values
| HEX | #9C2156 |
|---|---|
| RGB | rgb(156, 33, 86) |
| HSL | hsl(334, 65%, 37%) |
| HSV | hsv(334, 79%, 61%) |
| CMYK | cmyk(0%, 78.8%, 44.9%, 38.8%) |
| CIE-LAB | lab(35.65, 53.06, -0.17) |
| CIE-LCH | lch(35.65, 53.06, 359.82°) |
| OKLab | oklab(46.67% 0.163 0.0002) |
| OKLCH | oklch(46.67% 0.163 0.1) |
| XYZ | xyz(15.9351, 8.8296, 9.6675) |
| Luminance | 0.0883 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 2.36
Berry
#990F4B
ΔE00 2.73
Dark Fuchsia
#9D0759
ΔE00 2.86
Deep Magenta
#A0025C
ΔE00 3.30
Mulberry
#920A4E
ΔE00 3.41
Purple Red
#990147
ΔE00 3.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C2156 #219C67
analogous
#9C2194 #9C2156 #9C2921
triadic
#9C2156 #569C21 #21569C
tetradic
#9C2156 #949C21 #219C67 #29219C
square
#9C2156 #949C21 #219C67 #29219C
split-complementary
#9C2156 #219C29 #21949C
monochromatic
#370C1E #69163A #9C2156 #CF2C72 #DC5B93
Accessibility & contrast
On white
7.59
#9C2156 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#9C2156 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C2156
7.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C2156 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C2156 | 1.00 | 7.59 | 2.77 | 7.59 |
| #FFFFFF | 7.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E4557
Deuteranopia (green-blind)
#5F5C53
Tritanopia (blue-blind)
#AA0639
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #9c2156; /* rgb */ color: rgb(156, 33, 86); /* oklch */ color: oklch(46.7% 0.163 0.1);
Tailwind
colors: {
custom: {
50: '#be6985',
500: '#9c2156',
950: '#000000',
},
}SCSS
$custom: #9c2156; $custom-light: #be6985; $custom-dark: #000000;
JSON
{
"hex": "#9c2156",
"rgb": {
"r": 156,
"g": 33,
"b": 86
},
"hsl": {
"h": 334.146,
"s": 65.079,
"l": 37.059
},
"oklch": {
"l": 0.46667,
"c": 0.16301,
"h": 0.1
},
"luminance": 0.08828
}Semantic roles & 50–950 ramp
primary
#9C2156
secondary
#58C194
accent
#E8A040
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C