#9A224A#9A224A
#9A224A is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.0% C 0.157 H 6.3°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #9A224A |
|---|---|
| RGB | rgb(154, 34, 74) |
| HSL | hsl(340, 64%, 37%) |
| HSV | hsv(340, 78%, 60%) |
| CMYK | cmyk(0%, 77.9%, 51.9%, 39.6%) |
| CIE-LAB | lab(35.02, 51.08, 6.64) |
| CIE-LCH | lch(35.02, 51.51, 7.41°) |
| OKLab | oklab(46.02% 0.156 0.0173) |
| OKLCH | oklch(46.02% 0.157 6.3) |
| XYZ | xyz(15.1358, 8.5106, 7.3229) |
| Luminance | 0.0851 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.69
Purple Red
#990147
ΔE00 3.04
Purplish Red
#B0054B
ΔE00 4.06
Raspberry (survey)
#B00149
ΔE00 4.19
Cranberry
#9E003A
ΔE00 4.37
Violet Red
#A50055
ΔE00 4.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A224A #229A72
analogous
#9A2286 #9A224A #9A3622
triadic
#9A224A #4A9A22 #224A9A
tetradic
#9A224A #869A22 #229A72 #36229A
square
#9A224A #869A22 #229A72 #36229A
split-complementary
#9A224A #229A36 #22869A
monochromatic
#360C1A #681732 #9A224A #CC2D62 #DB5B86
Accessibility & contrast
On white
7.77
#9A224A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#9A224A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A224A
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A224A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A224A | 1.00 | 7.77 | 2.70 | 7.77 |
| #FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#40434B
Deuteranopia (green-blind)
#605B47
Tritanopia (blue-blind)
#A80033
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9a224a; /* rgb */ color: rgb(154, 34, 74); /* oklch */ color: oklch(46.0% 0.157 6.3);
Tailwind
colors: {
custom: {
50: '#be697c',
500: '#9a224a',
950: '#000000',
},
}SCSS
$custom: #9a224a; $custom-light: #be697c; $custom-dark: #000000;
JSON
{
"hex": "#9a224a",
"rgb": {
"r": 154,
"g": 34,
"b": 74
},
"hsl": {
"h": 340,
"s": 63.83,
"l": 36.863
},
"oklch": {
"l": 0.46019,
"c": 0.1569,
"h": 6.3
},
"luminance": 0.08508
}Semantic roles & 50–950 ramp
primary
#9A224A
secondary
#58BF9D
accent
#E7B041
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B