#9A2048#9A2048
#9A2048 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.8% C 0.158 H 7.1°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #9A2048 |
|---|---|
| RGB | rgb(154, 32, 72) |
| HSL | hsl(340, 66%, 36%) |
| HSV | hsv(340, 79%, 60%) |
| CMYK | cmyk(0%, 79.2%, 53.2%, 39.6%) |
| CIE-LAB | lab(34.75, 51.54, 7.55) |
| CIE-LCH | lch(34.75, 52.09, 8.33°) |
| OKLab | oklab(45.8% 0.1572 0.0195) |
| OKLCH | oklch(45.8% 0.158 7.1) |
| XYZ | xyz(15.0140, 8.3731, 6.9552) |
| Luminance | 0.0837 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.85
Purple Red
#990147
ΔE00 3.01
Cranberry
#9E003A
ΔE00 3.86
Purplish Red
#B0054B
ΔE00 3.97
Raspberry (survey)
#B00149
ΔE00 4.04
Violet Red
#A50055
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A2048 #209A72
analogous
#9A2085 #9A2048 #9A3520
triadic
#9A2048 #489A20 #20489A
tetradic
#9A2048 #859A20 #209A72 #35209A
square
#9A2048 #859A20 #209A72 #35209A
split-complementary
#9A2048 #209A35 #20859A
monochromatic
#350B19 #671530 #9A2048 #CD2B60 #DC5883
Accessibility & contrast
On white
7.85
#9A2048 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#9A2048 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A2048
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A2048 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A2048 | 1.00 | 7.85 | 2.67 | 7.85 |
| #FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404249
Deuteranopia (green-blind)
#605A45
Tritanopia (blue-blind)
#A80031
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9a2048; /* rgb */ color: rgb(154, 32, 72); /* oklch */ color: oklch(45.8% 0.158 7.1);
Tailwind
colors: {
custom: {
50: '#be687a',
500: '#9a2048',
950: '#000000',
},
}SCSS
$custom: #9a2048; $custom-light: #be687a; $custom-dark: #000000;
JSON
{
"hex": "#9a2048",
"rgb": {
"r": 154,
"g": 32,
"b": 72
},
"hsl": {
"h": 340.328,
"s": 65.591,
"l": 36.471
},
"oklch": {
"l": 0.45798,
"c": 0.15841,
"h": 7.1
},
"luminance": 0.08371
}Semantic roles & 50–950 ramp
primary
#9A2048
secondary
#56C09D
accent
#E9B13F
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B