#9A2548#9A2548
#9A2548 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.2% C 0.153 H 8.0°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).
Color values
| HEX | #9A2548 |
|---|---|
| RGB | rgb(154, 37, 72) |
| HSL | hsl(342, 61%, 37%) |
| HSV | hsv(342, 76%, 60%) |
| CMYK | cmyk(0%, 76%, 53.2%, 39.6%) |
| CIE-LAB | lab(35.33, 49.91, 8.36) |
| CIE-LCH | lch(35.33, 50.61, 9.51°) |
| OKLab | oklab(46.23% 0.152 0.0215) |
| OKLCH | oklch(46.23% 0.153 8) |
| XYZ | xyz(15.1591, 8.6631, 7.0036) |
| Luminance | 0.0866 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 3.68
Purple Red
#990147
ΔE00 3.86
Cranberry
#9E003A
ΔE00 3.92
Purplish Red
#B0054B
ΔE00 4.06
Raspberry (survey)
#B00149
ΔE00 4.11
Violet Red
#A50055
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A2548 #259A77
analogous
#9A2583 #9A2548 #9A3C25
triadic
#9A2548 #489A25 #25489A
tetradic
#9A2548 #839A25 #259A77 #3C259A
square
#9A2548 #839A25 #259A77 #3C259A
split-complementary
#9A2548 #259A3C #25839A
monochromatic
#370D1A #691931 #9A2548 #CB315F #D96085
Accessibility & contrast
On white
7.69
#9A2548 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#9A2548 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A2548
7.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A2548 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A2548 | 1.00 | 7.69 | 2.73 | 7.69 |
| #FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#434449
Deuteranopia (green-blind)
#615C45
Tritanopia (blue-blind)
#A80534
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9a2548; /* rgb */ color: rgb(154, 37, 72); /* oklch */ color: oklch(46.2% 0.153 8.0);
Tailwind
colors: {
custom: {
50: '#be6a7a',
500: '#9a2548',
950: '#000000',
},
}SCSS
$custom: #9a2548; $custom-light: #be6a7a; $custom-dark: #000000;
JSON
{
"hex": "#9a2548",
"rgb": {
"r": 154,
"g": 37,
"b": 72
},
"hsl": {
"h": 342.051,
"s": 61.257,
"l": 37.451
},
"oklch": {
"l": 0.46226,
"c": 0.15347,
"h": 8
},
"luminance": 0.08661
}Semantic roles & 50–950 ramp
primary
#9A2548
secondary
#5DBEA1
accent
#E4B443
background
#FCF6F7
surface
#F8ECED
border
#D1C7C8
text
#130709
muted
#827A7B