#9A2255#9A2255
#9A2255 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.4% C 0.160 H 0.2°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #9A2255 |
|---|---|
| RGB | rgb(154, 34, 85) |
| HSL | hsl(335, 64%, 37%) |
| HSV | hsv(335, 78%, 60%) |
| CMYK | cmyk(0%, 77.9%, 44.8%, 39.6%) |
| CIE-LAB | lab(35.34, 52.09, -0.02) |
| CIE-LCH | lch(35.34, 52.09, 359.98°) |
| OKLab | oklab(46.36% 0.16 0.0005) |
| OKLCH | oklch(46.36% 0.16 0.2) |
| XYZ | xyz(15.5394, 8.6720, 9.4481) |
| Luminance | 0.0867 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.60
Violet Red
#A50055
ΔE00 2.62
Dark Fuchsia
#9D0759
ΔE00 2.99
Mulberry
#920A4E
ΔE00 3.24
Deep Magenta
#A0025C
ΔE00 3.49
Purple Red
#990147
ΔE00 3.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A2255 #229A67
analogous
#9A2291 #9A2255 #9A2B22
triadic
#9A2255 #559A22 #22559A
tetradic
#9A2255 #919A22 #229A67 #2B229A
square
#9A2255 #919A22 #229A67 #2B229A
split-complementary
#9A2255 #229A2B #22919A
monochromatic
#360C1E #681739 #9A2255 #CC2D71 #DB5B92
Accessibility & contrast
On white
7.68
#9A2255 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#9A2255 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A2255
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A2255 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A2255 | 1.00 | 7.68 | 2.73 | 7.68 |
| #FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E4456
Deuteranopia (green-blind)
#5E5B52
Tritanopia (blue-blind)
#A70A38
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9a2255; /* rgb */ color: rgb(154, 34, 85); /* oklch */ color: oklch(46.4% 0.160 0.2);
Tailwind
colors: {
custom: {
50: '#bd6984',
500: '#9a2255',
950: '#000000',
},
}SCSS
$custom: #9a2255; $custom-light: #bd6984; $custom-dark: #000000;
JSON
{
"hex": "#9a2255",
"rgb": {
"r": 154,
"g": 34,
"b": 85
},
"hsl": {
"h": 334.5,
"s": 63.83,
"l": 36.863
},
"oklch": {
"l": 0.4636,
"c": 0.15997,
"h": 0.2
},
"luminance": 0.0867
}Semantic roles & 50–950 ramp
primary
#9A2255
secondary
#58BF94
accent
#E7A041
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070A
muted
#827A7C