#9F2D52#9F2D52
#9F2D52 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.2% C 0.152 H 5.3°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2D52 |
|---|---|
| RGB | rgb(159, 45, 82) |
| HSL | hsl(341, 56%, 40%) |
| HSV | hsv(341, 72%, 62%) |
| CMYK | cmyk(0%, 71.7%, 48.4%, 37.6%) |
| CIE-LAB | lab(37.59, 49.40, 5.27) |
| CIE-LCH | lch(37.59, 49.68, 6.09°) |
| OKLab | oklab(48.16% 0.1509 0.014) |
| OKLCH | oklch(48.16% 0.152 5.3) |
| XYZ | xyz(16.7608, 9.8591, 9.0014) |
| Luminance | 0.0986 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 4.18
Berry
#990F4B
ΔE00 4.24
Raspberry (survey)
#B00149
ΔE00 4.47
Violet Red
#A50055
ΔE00 4.74
Light Burgundy
#A8415B
ΔE00 4.76
Purple Red
#990147
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2D52 #2D9F7A
analogous
#9F2D8B #9F2D52 #9F412D
triadic
#9F2D52 #529F2D #2D529F
tetradic
#9F2D52 #8B9F2D #2D9F7A #412D9F
square
#9F2D52 #8B9F2D #2D9F7A #412D9F
split-complementary
#9F2D52 #2D9F41 #2D8B9F
monochromatic
#401221 #6F2039 #9F2D52 #C9406D #D67091
Accessibility & contrast
On white
7.07
#9F2D52 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#9F2D52 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F2D52
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2D52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2D52 | 1.00 | 7.07 | 2.97 | 7.07 |
| #FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474A53
Deuteranopia (green-blind)
#65614F
Tritanopia (blue-blind)
#AD193C
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9f2d52; /* rgb */ color: rgb(159, 45, 82); /* oklch */ color: oklch(48.2% 0.152 5.3);
Tailwind
colors: {
custom: {
50: '#c16f82',
500: '#9f2d52',
950: '#000000',
},
}SCSS
$custom: #9f2d52; $custom-light: #c16f82; $custom-dark: #000000;
JSON
{
"hex": "#9f2d52",
"rgb": {
"r": 159,
"g": 45,
"b": 82
},
"hsl": {
"h": 340.526,
"s": 55.882,
"l": 40
},
"oklch": {
"l": 0.48158,
"c": 0.15151,
"h": 5.3
},
"luminance": 0.09857
}Semantic roles & 50–950 ramp
primary
#9F2D52
secondary
#6ABEA3
accent
#DFAE49
background
#FCF7F7
surface
#F8EDEE
border
#D1C8C9
text
#13080A
muted
#827B7C