#9A2D52#9A2D52
#9A2D52 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.3% C 0.147 H 4.0°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #9A2D52 |
|---|---|
| RGB | rgb(154, 45, 82) |
| HSL | hsl(340, 55%, 39%) |
| HSV | hsv(340, 71%, 60%) |
| CMYK | cmyk(0%, 70.8%, 46.8%, 39.6%) |
| CIE-LAB | lab(36.66, 47.86, 3.82) |
| CIE-LCH | lch(36.66, 48.01, 4.57°) |
| OKLab | oklab(47.3% 0.1463 0.0103) |
| OKLCH | oklch(47.3% 0.147 4) |
| XYZ | xyz(15.7890, 9.3580, 8.9558) |
| Luminance | 0.0936 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 3.72
Violet Red
#A50055
ΔE00 4.50
Purple Red
#990147
ΔE00 4.51
Purplish Red
#B0054B
ΔE00 5.01
Raspberry (survey)
#B00149
ΔE00 5.29
Mulberry
#920A4E
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A2D52 #2D9A75
analogous
#9A2D89 #9A2D52 #9A3F2D
triadic
#9A2D52 #529A2D #2D529A
tetradic
#9A2D52 #899A2D #2D9A75 #3F2D9A
square
#9A2D52 #899A2D #2D9A75 #3F2D9A
split-complementary
#9A2D52 #2D9A3F #2D899A
monochromatic
#3B1120 #6B1F39 #9A2D52 #C73E6C #D46D90
Accessibility & contrast
On white
7.31
#9A2D52 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#9A2D52 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A2D52
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A2D52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A2D52 | 1.00 | 7.31 | 2.87 | 7.31 |
| #FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454953
Deuteranopia (green-blind)
#625E4F
Tritanopia (blue-blind)
#A71C3C
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9a2d52; /* rgb */ color: rgb(154, 45, 82); /* oklch */ color: oklch(47.3% 0.147 4.0);
Tailwind
colors: {
custom: {
50: '#bd6e82',
500: '#9a2d52',
950: '#000000',
},
}SCSS
$custom: #9a2d52; $custom-light: #bd6e82; $custom-dark: #000000;
JSON
{
"hex": "#9a2d52",
"rgb": {
"r": 154,
"g": 45,
"b": 82
},
"hsl": {
"h": 339.633,
"s": 54.774,
"l": 39.02
},
"oklch": {
"l": 0.47303,
"c": 0.14665,
"h": 4
},
"luminance": 0.09356
}Semantic roles & 50–950 ramp
primary
#9A2D52
secondary
#67BB9F
accent
#DEAC4A
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13080A
muted
#827B7C