#9F2558#9F2558
#9F2558 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.6% C 0.162 H 0.4°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2558 |
|---|---|
| RGB | rgb(159, 37, 88) |
| HSL | hsl(335, 62%, 38%) |
| HSV | hsv(335, 77%, 62%) |
| CMYK | cmyk(0%, 76.7%, 44.7%, 37.6%) |
| CIE-LAB | lab(36.74, 52.82, 0.21) |
| CIE-LCH | lch(36.74, 52.82, 0.23°) |
| OKLab | oklab(47.59% 0.1622 0.0011) |
| OKLCH | oklch(47.59% 0.162 0.4) |
| XYZ | xyz(16.7224, 9.4008, 10.1646) |
| Luminance | 0.0940 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 2.68
Berry
#990F4B
ΔE00 3.38
Dark Fuchsia
#9D0759
ΔE00 3.52
Deep Magenta
#A0025C
ΔE00 3.82
Mulberry
#920A4E
ΔE00 4.34
Purple Red
#990147
ΔE00 4.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2558 #259F6C
analogous
#9F2595 #9F2558 #9F2F25
triadic
#9F2558 #589F25 #25589F
tetradic
#9F2558 #959F25 #259F6C #2F259F
square
#9F2558 #959F25 #259F6C #2F259F
split-complementary
#9F2558 #259F2F #25959F
monochromatic
#3C0E21 #6D193D #9F2558 #CF3274 #DB6495
Accessibility & contrast
On white
7.29
#9F2558 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#9F2558 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F2558
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2558 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2558 | 1.00 | 7.29 | 2.88 | 7.29 |
| #FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#414859
Deuteranopia (green-blind)
#625F55
Tritanopia (blue-blind)
#AD0E3B
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9f2558; /* rgb */ color: rgb(159, 37, 88); /* oklch */ color: oklch(47.6% 0.162 0.4);
Tailwind
colors: {
custom: {
50: '#c16b87',
500: '#9f2558',
950: '#000000',
},
}SCSS
$custom: #9f2558; $custom-light: #c16b87; $custom-dark: #000000;
JSON
{
"hex": "#9f2558",
"rgb": {
"r": 159,
"g": 37,
"b": 88
},
"hsl": {
"h": 334.918,
"s": 62.245,
"l": 38.431
},
"oklch": {
"l": 0.47594,
"c": 0.16216,
"h": 0.4
},
"luminance": 0.09399
}Semantic roles & 50–950 ramp
primary
#9F2558
secondary
#5FC098
accent
#E5A142
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C