#9F2552#9F2552
#9F2552 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.4% C 0.160 H 3.7°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2552 |
|---|---|
| RGB | rgb(159, 37, 82) |
| HSL | hsl(338, 62%, 38%) |
| HSV | hsv(338, 77%, 62%) |
| CMYK | cmyk(0%, 76.7%, 48.4%, 37.6%) |
| CIE-LAB | lab(36.57, 52.26, 3.80) |
| CIE-LCH | lch(36.57, 52.39, 4.16°) |
| OKLab | oklab(47.4% 0.16 0.0103) |
| OKLCH | oklch(47.4% 0.16 3.7) |
| XYZ | xyz(16.4840, 9.3055, 8.9091) |
| Luminance | 0.0930 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.96
Violet Red
#A50055
ΔE00 3.31
Purple Red
#990147
ΔE00 3.75
Purplish Red
#B0054B
ΔE00 4.05
Raspberry (survey)
#B00149
ΔE00 4.39
Dark Fuchsia
#9D0759
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2552 #259F72
analogous
#9F258F #9F2552 #9F3525
triadic
#9F2552 #529F25 #25529F
tetradic
#9F2552 #8F9F25 #259F72 #35259F
square
#9F2552 #8F9F25 #259F72 #35259F
split-complementary
#9F2552 #259F35 #258F9F
monochromatic
#3C0E1F #6D1938 #9F2552 #CF326C #DB6490
Accessibility & contrast
On white
7.34
#9F2552 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#9F2552 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F2552
7.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2552 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2552 | 1.00 | 7.34 | 2.86 | 7.34 |
| #FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#424753
Deuteranopia (green-blind)
#635F4F
Tritanopia (blue-blind)
#AD0838
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9f2552; /* rgb */ color: rgb(159, 37, 82); /* oklch */ color: oklch(47.4% 0.160 3.7);
Tailwind
colors: {
custom: {
50: '#c16b82',
500: '#9f2552',
950: '#000000',
},
}SCSS
$custom: #9f2552; $custom-light: #c16b82; $custom-dark: #000000;
JSON
{
"hex": "#9f2552",
"rgb": {
"r": 159,
"g": 37,
"b": 82
},
"hsl": {
"h": 337.869,
"s": 62.245,
"l": 38.431
},
"oklch": {
"l": 0.47404,
"c": 0.16036,
"h": 3.7
},
"luminance": 0.09303
}Semantic roles & 50–950 ramp
primary
#9F2552
secondary
#5FC09D
accent
#E5A942
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C