#9C2158#9C2158
#9C2158 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.7% C 0.164 H 359.0°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).
Color values
| HEX | #9C2158 |
|---|---|
| RGB | rgb(156, 33, 88) |
| HSL | hsl(333, 65%, 37%) |
| HSV | hsv(333, 79%, 61%) |
| CMYK | cmyk(0%, 78.8%, 43.6%, 38.8%) |
| CIE-LAB | lab(35.72, 53.25, -1.36) |
| CIE-LCH | lch(35.72, 53.27, 358.54°) |
| OKLab | oklab(46.74% 0.1637 -0.0029) |
| OKLCH | oklch(46.74% 0.164 359) |
| XYZ | xyz(16.0168, 8.8623, 10.0978) |
| Luminance | 0.0886 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 2.42
Dark Fuchsia
#9D0759
ΔE00 2.50
Deep Magenta
#A0025C
ΔE00 2.89
Berry
#990F4B
ΔE00 3.14
Mulberry
#920A4E
ΔE00 3.42
Dark Magenta
#960056
ΔE00 3.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C2158 #219C65
analogous
#9C2195 #9C2158 #9C2821
triadic
#9C2158 #589C21 #21589C
tetradic
#9C2158 #959C21 #219C65 #28219C
square
#9C2158 #959C21 #219C65 #28219C
split-complementary
#9C2158 #219C28 #21959C
monochromatic
#370C1F #69163C #9C2158 #CF2C74 #DC5B95
Accessibility & contrast
On white
7.58
#9C2158 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#9C2158 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C2158
7.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C2158 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C2158 | 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)
#3D4559
Deuteranopia (green-blind)
#5E5C55
Tritanopia (blue-blind)
#A9083A
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #9c2158; /* rgb */ color: rgb(156, 33, 88); /* oklch */ color: oklch(46.7% 0.164 359.0);
Tailwind
colors: {
custom: {
50: '#be6987',
500: '#9c2158',
950: '#000000',
},
}SCSS
$custom: #9c2158; $custom-light: #be6987; $custom-dark: #000000;
JSON
{
"hex": "#9c2158",
"rgb": {
"r": 156,
"g": 33,
"b": 88
},
"hsl": {
"h": 333.171,
"s": 65.079,
"l": 37.059
},
"oklch": {
"l": 0.46735,
"c": 0.16371,
"h": 359
},
"luminance": 0.0886
}Semantic roles & 50–950 ramp
primary
#9C2158
secondary
#58C192
accent
#E89D40
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C