#9F2158#9F2158
#9F2158 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.3% C 0.166 H 359.8°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2158 |
|---|---|
| RGB | rgb(159, 33, 88) |
| HSL | hsl(334, 66%, 38%) |
| HSV | hsv(334, 79%, 62%) |
| CMYK | cmyk(0%, 79.2%, 44.7%, 37.6%) |
| CIE-LAB | lab(36.30, 54.08, -0.44) |
| CIE-LCH | lch(36.30, 54.08, 359.54°) |
| OKLab | oklab(47.27% 0.1662 -0.0005) |
| OKLCH | oklch(47.27% 0.166 359.8) |
| XYZ | xyz(16.6047, 9.1654, 10.1254) |
| Luminance | 0.0916 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 2.21
Dark Fuchsia
#9D0759
ΔE00 2.91
Berry
#990F4B
ΔE00 3.16
Deep Magenta
#A0025C
ΔE00 3.22
Mulberry
#920A4E
ΔE00 3.90
Purple Red
#990147
ΔE00 4.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2158 #219F68
analogous
#9F2197 #9F2158 #9F2921
triadic
#9F2158 #589F21 #21589F
tetradic
#9F2158 #979F21 #219F68 #29219F
square
#9F2158 #979F21 #219F68 #29219F
split-complementary
#9F2158 #219F29 #21979F
monochromatic
#3A0C20 #6C163C #9F2158 #D22C74 #DD5D95
Accessibility & contrast
On white
7.41
#9F2158 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#9F2158 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F2158
7.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2158 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2158 | 1.00 | 7.41 | 2.83 | 7.41 |
| #FFFFFF | 7.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E4659
Deuteranopia (green-blind)
#605E55
Tritanopia (blue-blind)
#AD053A
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #9f2158; /* rgb */ color: rgb(159, 33, 88); /* oklch */ color: oklch(47.3% 0.166 359.8);
Tailwind
colors: {
custom: {
50: '#c16a87',
500: '#9f2158',
950: '#000000',
},
}SCSS
$custom: #9f2158; $custom-light: #c16a87; $custom-dark: #000000;
JSON
{
"hex": "#9f2158",
"rgb": {
"r": 159,
"g": 33,
"b": 88
},
"hsl": {
"h": 333.81,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.47268,
"c": 0.16619,
"h": 359.8
},
"luminance": 0.09163
}Semantic roles & 50–950 ramp
primary
#9F2158
secondary
#5AC294
accent
#E99F3F
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C