#9C2258#9C2258
#9C2258 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.8% C 0.163 H 359.1°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).
Color values
| HEX | #9C2258 |
|---|---|
| RGB | rgb(156, 34, 88) |
| HSL | hsl(333, 64%, 37%) |
| HSV | hsv(333, 78%, 61%) |
| CMYK | cmyk(0%, 78.2%, 43.6%, 38.8%) |
| CIE-LAB | lab(35.83, 52.94, -1.20) |
| CIE-LCH | lch(35.83, 52.96, 358.70°) |
| OKLab | oklab(46.82% 0.1627 -0.0025) |
| OKLCH | oklch(46.82% 0.163 359.1) |
| XYZ | xyz(16.0450, 8.9187, 10.1072) |
| Luminance | 0.0892 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 2.50
Dark Fuchsia
#9D0759
ΔE00 2.65
Deep Magenta
#A0025C
ΔE00 3.03
Berry
#990F4B
ΔE00 3.17
Mulberry
#920A4E
ΔE00 3.52
Reddish Purple
#910951
ΔE00 3.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C2258 #229C66
analogous
#9C2295 #9C2258 #9C2922
triadic
#9C2258 #589C22 #22589C
tetradic
#9C2258 #959C22 #229C66 #29229C
square
#9C2258 #959C22 #229C66 #29229C
split-complementary
#9C2258 #229C29 #22959C
monochromatic
#380C1F #6A173C #9C2258 #CE2D74 #DC5D95
Accessibility & contrast
On white
7.54
#9C2258 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#9C2258 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C2258
7.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C2258 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C2258 | 1.00 | 7.54 | 2.78 | 7.54 |
| #FFFFFF | 7.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E4559
Deuteranopia (green-blind)
#5F5D55
Tritanopia (blue-blind)
#A90B3A
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #9c2258; /* rgb */ color: rgb(156, 34, 88); /* oklch */ color: oklch(46.8% 0.163 359.1);
Tailwind
colors: {
custom: {
50: '#be6a87',
500: '#9c2258',
950: '#000000',
},
}SCSS
$custom: #9c2258; $custom-light: #be6a87; $custom-dark: #000000;
JSON
{
"hex": "#9c2258",
"rgb": {
"r": 156,
"g": 34,
"b": 88
},
"hsl": {
"h": 333.443,
"s": 64.211,
"l": 37.255
},
"oklch": {
"l": 0.46815,
"c": 0.16271,
"h": 359.1
},
"luminance": 0.08917
}Semantic roles & 50–950 ramp
primary
#9C2258
secondary
#5AC093
accent
#E79D41
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C