#9C2257#9C2257
#9C2257 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.8% C 0.162 H 359.7°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).
Color values
| HEX | #9C2257 |
|---|---|
| RGB | rgb(156, 34, 87) |
| HSL | hsl(334, 64%, 37%) |
| HSV | hsv(334, 78%, 61%) |
| CMYK | cmyk(0%, 78.2%, 44.2%, 38.8%) |
| CIE-LAB | lab(35.80, 52.84, -0.60) |
| CIE-LCH | lch(35.80, 52.85, 359.35°) |
| OKLab | oklab(46.78% 0.1624 -0.001) |
| OKLCH | oklch(46.78% 0.162 359.7) |
| XYZ | xyz(16.0039, 8.9022, 9.8905) |
| Luminance | 0.0890 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 2.46
Dark Fuchsia
#9D0759
ΔE00 2.82
Berry
#990F4B
ΔE00 2.96
Deep Magenta
#A0025C
ΔE00 3.23
Mulberry
#920A4E
ΔE00 3.51
Reddish Purple
#910951
ΔE00 3.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C2257 #229C67
analogous
#9C2294 #9C2257 #9C2A22
triadic
#9C2257 #579C22 #22579C
tetradic
#9C2257 #949C22 #229C67 #2A229C
square
#9C2257 #949C22 #229C67 #2A229C
split-complementary
#9C2257 #229C2A #22949C
monochromatic
#380C1F #6A173B #9C2257 #CE2D73 #DC5D94
Accessibility & contrast
On white
7.55
#9C2257 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#9C2257 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C2257
7.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C2257 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C2257 | 1.00 | 7.55 | 2.78 | 7.55 |
| #FFFFFF | 7.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E4558
Deuteranopia (green-blind)
#5F5D54
Tritanopia (blue-blind)
#A90A39
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #9c2257; /* rgb */ color: rgb(156, 34, 87); /* oklch */ color: oklch(46.8% 0.162 359.7);
Tailwind
colors: {
custom: {
50: '#be6a86',
500: '#9c2257',
950: '#000000',
},
}SCSS
$custom: #9c2257; $custom-light: #be6a86; $custom-dark: #000000;
JSON
{
"hex": "#9c2257",
"rgb": {
"r": 156,
"g": 34,
"b": 87
},
"hsl": {
"h": 333.934,
"s": 64.211,
"l": 37.255
},
"oklch": {
"l": 0.46781,
"c": 0.16235,
"h": 359.7
},
"luminance": 0.089
}Semantic roles & 50–950 ramp
primary
#9C2257
secondary
#5AC094
accent
#E79F41
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C