#9F2157#9F2157
#9F2157 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.2% C 0.166 H 0.3°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2157 |
|---|---|
| RGB | rgb(159, 33, 87) |
| HSL | hsl(334, 66%, 38%) |
| HSV | hsv(334, 79%, 62%) |
| CMYK | cmyk(0%, 79.2%, 45.3%, 37.6%) |
| CIE-LAB | lab(36.27, 53.98, 0.16) |
| CIE-LCH | lch(36.27, 53.98, 0.17°) |
| OKLab | oklab(47.24% 0.1659 0.001) |
| OKLCH | oklch(47.24% 0.166 0.3) |
| XYZ | xyz(16.5636, 9.1490, 9.9087) |
| Luminance | 0.0915 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 2.21
Berry
#990F4B
ΔE00 2.99
Dark Fuchsia
#9D0759
ΔE00 3.10
Deep Magenta
#A0025C
ΔE00 3.43
Mulberry
#920A4E
ΔE00 3.91
Purple Red
#990147
ΔE00 3.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2157 #219F69
analogous
#9F2196 #9F2157 #9F2A21
triadic
#9F2157 #579F21 #21579F
tetradic
#9F2157 #969F21 #219F69 #2A219F
square
#9F2157 #969F21 #219F69 #2A219F
split-complementary
#9F2157 #219F2A #21969F
monochromatic
#3A0C20 #6C163B #9F2157 #D22C73 #DD5D94
Accessibility & contrast
On white
7.42
#9F2157 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#9F2157 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F2157
7.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2157 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2157 | 1.00 | 7.42 | 2.83 | 7.42 |
| #FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F4658
Deuteranopia (green-blind)
#615E54
Tritanopia (blue-blind)
#AD0339
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #9f2157; /* rgb */ color: rgb(159, 33, 87); /* oklch */ color: oklch(47.2% 0.166 0.3);
Tailwind
colors: {
custom: {
50: '#c16a86',
500: '#9f2157',
950: '#000000',
},
}SCSS
$custom: #9f2157; $custom-light: #c16a86; $custom-dark: #000000;
JSON
{
"hex": "#9f2157",
"rgb": {
"r": 159,
"g": 33,
"b": 87
},
"hsl": {
"h": 334.286,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.47235,
"c": 0.16585,
"h": 0.3
},
"luminance": 0.09147
}Semantic roles & 50–950 ramp
primary
#9F2157
secondary
#5AC295
accent
#E9A03F
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C