#9F2A52#9F2A52
#9F2A52 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 47.9% C 0.155 H 4.6°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2A52 |
|---|---|
| RGB | rgb(159, 42, 82) |
| HSL | hsl(339, 58%, 39%) |
| HSV | hsv(339, 74%, 62%) |
| CMYK | cmyk(0%, 73.6%, 48.4%, 37.6%) |
| CIE-LAB | lab(37.19, 50.52, 4.69) |
| CIE-LCH | lch(37.19, 50.74, 5.31°) |
| OKLab | oklab(47.86% 0.1545 0.0125) |
| OKLCH | oklch(47.86% 0.155 4.6) |
| XYZ | xyz(16.6504, 9.6383, 8.9646) |
| Luminance | 0.0964 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 3.71
Purplish Red
#B0054B
ΔE00 4.07
Violet Red
#A50055
ΔE00 4.17
Raspberry (survey)
#B00149
ΔE00 4.38
Purple Red
#990147
ΔE00 4.42
Light Burgundy
#A8415B
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2A52 #2A9F77
analogous
#9F2A8D #9F2A52 #9F3C2A
triadic
#9F2A52 #529F2A #2A529F
tetradic
#9F2A52 #8D9F2A #2A9F77 #3C2A9F
square
#9F2A52 #8D9F2A #2A9F77 #3C2A9F
split-complementary
#9F2A52 #2A9F3C #2A8D9F
monochromatic
#3E1020 #6F1D39 #9F2A52 #CB3B6C #D86B91
Accessibility & contrast
On white
7.17
#9F2A52 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#9F2A52 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F2A52
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2A52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2A52 | 1.00 | 7.17 | 2.93 | 7.17 |
| #FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454953
Deuteranopia (green-blind)
#64604F
Tritanopia (blue-blind)
#AD143B
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9f2a52; /* rgb */ color: rgb(159, 42, 82); /* oklch */ color: oklch(47.9% 0.155 4.6);
Tailwind
colors: {
custom: {
50: '#c16d82',
500: '#9f2a52',
950: '#000000',
},
}SCSS
$custom: #9f2a52; $custom-light: #c16d82; $custom-dark: #000000;
JSON
{
"hex": "#9f2a52",
"rgb": {
"r": 159,
"g": 42,
"b": 82
},
"hsl": {
"h": 339.487,
"s": 58.209,
"l": 39.412
},
"oklch": {
"l": 0.4786,
"c": 0.15497,
"h": 4.6
},
"luminance": 0.09636
}Semantic roles & 50–950 ramp
primary
#9F2A52
secondary
#66BFA0
accent
#E1AC46
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13080A
muted
#827B7C