#9F2259#9F2259
#9F2259 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.4% C 0.166 H 359.4°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2259 |
|---|---|
| RGB | rgb(159, 34, 89) |
| HSL | hsl(334, 65%, 38%) |
| HSV | hsv(334, 79%, 62%) |
| CMYK | cmyk(0%, 78.6%, 44%, 37.6%) |
| CIE-LAB | lab(36.44, 53.87, -0.88) |
| CIE-LCH | lch(36.44, 53.88, 359.07°) |
| OKLab | oklab(47.38% 0.1656 -0.0017) |
| OKLCH | oklch(47.38% 0.166 359.4) |
| XYZ | xyz(16.6746, 9.2385, 10.3544) |
| Luminance | 0.0924 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 2.35
Dark Fuchsia
#9D0759
ΔE00 2.90
Deep Magenta
#A0025C
ΔE00 3.17
Berry
#990F4B
ΔE00 3.39
Mulberry
#920A4E
ΔE00 4.00
Dark Magenta
#960056
ΔE00 4.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2259 #229F68
analogous
#9F2297 #9F2259 #9F2922
triadic
#9F2259 #599F22 #22599F
tetradic
#9F2259 #979F22 #229F68 #29229F
square
#9F2259 #979F22 #229F68 #29229F
split-complementary
#9F2259 #229F29 #22979F
monochromatic
#3A0C21 #6D173D #9F2259 #D12D75 #DD5F96
Accessibility & contrast
On white
7.38
#9F2259 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#9F2259 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F2259
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2259 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2259 | 1.00 | 7.38 | 2.85 | 7.38 |
| #FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F475A
Deuteranopia (green-blind)
#615E56
Tritanopia (blue-blind)
#AD083B
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9f2259; /* rgb */ color: rgb(159, 34, 89); /* oklch */ color: oklch(47.4% 0.166 359.4);
Tailwind
colors: {
custom: {
50: '#c16a87',
500: '#9f2259',
950: '#000000',
},
}SCSS
$custom: #9f2259; $custom-light: #c16a87; $custom-dark: #000000;
JSON
{
"hex": "#9f2259",
"rgb": {
"r": 159,
"g": 34,
"b": 89
},
"hsl": {
"h": 333.6,
"s": 64.767,
"l": 37.843
},
"oklch": {
"l": 0.4738,
"c": 0.16557,
"h": 359.4
},
"luminance": 0.09236
}Semantic roles & 50–950 ramp
primary
#9F2259
secondary
#5BC195
accent
#E89E40
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C