#9D2952#9D2952
#9D2952 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.4% C 0.154 H 3.9°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #9D2952 |
|---|---|
| RGB | rgb(157, 41, 82) |
| HSL | hsl(339, 59%, 39%) |
| HSV | hsv(339, 74%, 62%) |
| CMYK | cmyk(0%, 73.9%, 47.8%, 38.4%) |
| CIE-LAB | lab(36.68, 50.29, 3.92) |
| CIE-LCH | lch(36.68, 50.44, 4.45°) |
| OKLab | oklab(47.42% 0.1538 0.0106) |
| OKLCH | oklch(47.42% 0.154 3.9) |
| XYZ | xyz(16.2219, 9.3653, 8.9345) |
| Luminance | 0.0936 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 3.30
Violet Red
#A50055
ΔE00 3.87
Purple Red
#990147
ΔE00 4.09
Purplish Red
#B0054B
ΔE00 4.41
Raspberry (survey)
#B00149
ΔE00 4.72
Mulberry
#920A4E
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D2952 #299D74
analogous
#9D298C #9D2952 #9D3A29
triadic
#9D2952 #529D29 #29529D
tetradic
#9D2952 #8C9D29 #299D74 #3A299D
square
#9D2952 #8C9D29 #299D74 #3A299D
split-complementary
#9D2952 #299D3A #298C9D
monochromatic
#3C101F #6C1C39 #9D2952 #CB386C #D86990
Accessibility & contrast
On white
7.31
#9D2952 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#9D2952 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D2952
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D2952 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D2952 | 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)
#444853
Deuteranopia (green-blind)
#635F4F
Tritanopia (blue-blind)
#AB133A
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9d2952; /* rgb */ color: rgb(157, 41, 82); /* oklch */ color: oklch(47.4% 0.154 3.9);
Tailwind
colors: {
custom: {
50: '#bf6d82',
500: '#9d2952',
950: '#000000',
},
}SCSS
$custom: #9d2952; $custom-light: #bf6d82; $custom-dark: #000000;
JSON
{
"hex": "#9d2952",
"rgb": {
"r": 157,
"g": 41,
"b": 82
},
"hsl": {
"h": 338.793,
"s": 58.586,
"l": 38.824
},
"oklch": {
"l": 0.47417,
"c": 0.15421,
"h": 3.9
},
"luminance": 0.09363
}Semantic roles & 50–950 ramp
primary
#9D2952
secondary
#64BE9E
accent
#E2AB46
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13080A
muted
#827B7C