#9F2257#9F2257
#9F2257 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.3% C 0.165 H 0.5°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2257 |
|---|---|
| RGB | rgb(159, 34, 87) |
| HSL | hsl(335, 65%, 38%) |
| HSV | hsv(335, 79%, 62%) |
| CMYK | cmyk(0%, 78.6%, 45.3%, 37.6%) |
| CIE-LAB | lab(36.38, 53.68, 0.32) |
| CIE-LCH | lch(36.38, 53.68, 0.34°) |
| OKLab | oklab(47.31% 0.1649 0.0014) |
| OKLCH | oklch(47.31% 0.165 0.5) |
| XYZ | xyz(16.5917, 9.2053, 9.9181) |
| Luminance | 0.0920 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 2.32
Berry
#990F4B
ΔE00 3.04
Dark Fuchsia
#9D0759
ΔE00 3.24
Deep Magenta
#A0025C
ΔE00 3.57
Mulberry
#920A4E
ΔE00 4.02
Purple Red
#990147
ΔE00 4.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2257 #229F6A
analogous
#9F2295 #9F2257 #9F2B22
triadic
#9F2257 #579F22 #22579F
tetradic
#9F2257 #959F22 #229F6A #2B229F
square
#9F2257 #959F22 #229F6A #2B229F
split-complementary
#9F2257 #229F2B #22959F
monochromatic
#3A0C20 #6D173B #9F2257 #D12D73 #DD5F94
Accessibility & contrast
On white
7.39
#9F2257 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#9F2257 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F2257
7.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2257 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2257 | 1.00 | 7.39 | 2.84 | 7.39 |
| #FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F4658
Deuteranopia (green-blind)
#615E54
Tritanopia (blue-blind)
#AD063A
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9f2257; /* rgb */ color: rgb(159, 34, 87); /* oklch */ color: oklch(47.3% 0.165 0.5);
Tailwind
colors: {
custom: {
50: '#c16a86',
500: '#9f2257',
950: '#000000',
},
}SCSS
$custom: #9f2257; $custom-light: #c16a86; $custom-dark: #000000;
JSON
{
"hex": "#9f2257",
"rgb": {
"r": 159,
"g": 34,
"b": 87
},
"hsl": {
"h": 334.56,
"s": 64.767,
"l": 37.843
},
"oklch": {
"l": 0.47313,
"c": 0.16488,
"h": 0.5
},
"luminance": 0.09203
}Semantic roles & 50–950 ramp
primary
#9F2257
secondary
#5BC196
accent
#E8A140
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C