#9F2052#9F2052
#9F2052 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.0% C 0.165 H 2.9°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2052 |
|---|---|
| RGB | rgb(159, 32, 82) |
| HSL | hsl(336, 66%, 37%) |
| HSV | hsv(336, 80%, 62%) |
| CMYK | cmyk(0%, 79.9%, 48.4%, 37.6%) |
| CIE-LAB | lab(36.01, 53.82, 3.01) |
| CIE-LCH | lch(36.01, 53.90, 3.20°) |
| OKLab | oklab(47% 0.1651 0.0083) |
| OKLCH | oklch(47% 0.165 2.9) |
| XYZ | xyz(16.3390, 9.0154, 8.8608) |
| Luminance | 0.0901 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.38
Violet Red
#A50055
ΔE00 2.59
Purple Red
#990147
ΔE00 3.23
Dark Fuchsia
#9D0759
ΔE00 4.09
Mulberry
#920A4E
ΔE00 4.18
Purplish Red
#B0054B
ΔE00 4.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2052 #209F6D
analogous
#9F2091 #9F2052 #9F2E20
triadic
#9F2052 #529F20 #20529F
tetradic
#9F2052 #919F20 #209F6D #2E209F
square
#9F2052 #919F20 #209F6D #2E209F
split-complementary
#9F2052 #209F2E #20919F
monochromatic
#390B1D #6C1638 #9F2052 #D22A6C #DE5B8F
Accessibility & contrast
On white
7.49
#9F2052 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#9F2052 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F2052
7.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2052 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2052 | 1.00 | 7.49 | 2.80 | 7.49 |
| #FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404553
Deuteranopia (green-blind)
#615E4F
Tritanopia (blue-blind)
#AD0036
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #9f2052; /* rgb */ color: rgb(159, 32, 82); /* oklch */ color: oklch(47.0% 0.165 2.9);
Tailwind
colors: {
custom: {
50: '#c16982',
500: '#9f2052',
950: '#000000',
},
}SCSS
$custom: #9f2052; $custom-light: #c16982; $custom-dark: #000000;
JSON
{
"hex": "#9f2052",
"rgb": {
"r": 159,
"g": 32,
"b": 82
},
"hsl": {
"h": 336.378,
"s": 66.492,
"l": 37.451
},
"oklch": {
"l": 0.46998,
"c": 0.16526,
"h": 2.9
},
"luminance": 0.09013
}Semantic roles & 50–950 ramp
primary
#9F2052
secondary
#59C299
accent
#E9A63E
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C