#9F2152#9F2152
#9F2152 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.1% C 0.164 H 3.0°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2152 |
|---|---|
| RGB | rgb(159, 33, 82) |
| HSL | hsl(337, 66%, 38%) |
| HSV | hsv(337, 79%, 62%) |
| CMYK | cmyk(0%, 79.2%, 48.4%, 37.6%) |
| CIE-LAB | lab(36.12, 53.52, 3.16) |
| CIE-LCH | lch(36.12, 53.61, 3.38°) |
| OKLab | oklab(47.08% 0.1641 0.0087) |
| OKLCH | oklch(47.08% 0.164 3) |
| XYZ | xyz(16.3663, 9.0701, 8.8699) |
| Luminance | 0.0907 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.48
Violet Red
#A50055
ΔE00 2.72
Purple Red
#990147
ΔE00 3.32
Purplish Red
#B0054B
ΔE00 4.16
Dark Fuchsia
#9D0759
ΔE00 4.22
Mulberry
#920A4E
ΔE00 4.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2152 #219F6E
analogous
#9F2191 #9F2152 #9F2F21
triadic
#9F2152 #529F21 #21529F
tetradic
#9F2152 #919F21 #219F6E #2F219F
square
#9F2152 #919F21 #219F6E #2F219F
split-complementary
#9F2152 #219F2F #21919F
monochromatic
#3A0C1E #6C1638 #9F2152 #D22C6C #DD5D8F
Accessibility & contrast
On white
7.46
#9F2152 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#9F2152 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F2152
7.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2152 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2152 | 1.00 | 7.46 | 2.81 | 7.46 |
| #FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404553
Deuteranopia (green-blind)
#625E4F
Tritanopia (blue-blind)
#AD0037
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #9f2152; /* rgb */ color: rgb(159, 33, 82); /* oklch */ color: oklch(47.1% 0.164 3.0);
Tailwind
colors: {
custom: {
50: '#c16a82',
500: '#9f2152',
950: '#000000',
},
}SCSS
$custom: #9f2152; $custom-light: #c16a82; $custom-dark: #000000;
JSON
{
"hex": "#9f2152",
"rgb": {
"r": 159,
"g": 33,
"b": 82
},
"hsl": {
"h": 336.667,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.47075,
"c": 0.16432,
"h": 3
},
"luminance": 0.09068
}Semantic roles & 50–950 ramp
primary
#9F2152
secondary
#5AC299
accent
#E9A73F
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C