#9F2258#9F2258
#9F2258 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.3% C 0.165 H 360.0°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2258 |
|---|---|
| RGB | rgb(159, 34, 88) |
| HSL | hsl(334, 65%, 38%) |
| HSV | hsv(334, 79%, 62%) |
| CMYK | cmyk(0%, 78.6%, 44.7%, 37.6%) |
| CIE-LAB | lab(36.41, 53.77, -0.28) |
| CIE-LCH | lch(36.41, 53.78, 359.70°) |
| OKLab | oklab(47.35% 0.1652 -0.0001) |
| OKLCH | oklch(47.35% 0.165 0) |
| XYZ | xyz(16.6329, 9.2218, 10.1347) |
| Luminance | 0.0922 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 2.32
Dark Fuchsia
#9D0759
ΔE00 3.06
Berry
#990F4B
ΔE00 3.21
Deep Magenta
#A0025C
ΔE00 3.36
Mulberry
#920A4E
ΔE00 4.00
Purple Red
#990147
ΔE00 4.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2258 #229F69
analogous
#9F2296 #9F2258 #9F2A22
triadic
#9F2258 #589F22 #22589F
tetradic
#9F2258 #969F22 #229F69 #2A229F
square
#9F2258 #969F22 #229F69 #2A229F
split-complementary
#9F2258 #229F2A #22969F
monochromatic
#3A0C20 #6D173C #9F2258 #D12D74 #DD5F95
Accessibility & contrast
On white
7.38
#9F2258 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#9F2258 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F2258
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2258 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2258 | 1.00 | 7.38 | 2.84 | 7.38 |
| #FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F4659
Deuteranopia (green-blind)
#615E55
Tritanopia (blue-blind)
#AD073A
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9f2258; /* rgb */ color: rgb(159, 34, 88); /* oklch */ color: oklch(47.3% 0.165 360.0);
Tailwind
colors: {
custom: {
50: '#c16a87',
500: '#9f2258',
950: '#000000',
},
}SCSS
$custom: #9f2258; $custom-light: #c16a87; $custom-dark: #000000;
JSON
{
"hex": "#9f2258",
"rgb": {
"r": 159,
"g": 34,
"b": 88
},
"hsl": {
"h": 334.08,
"s": 64.767,
"l": 37.843
},
"oklch": {
"l": 0.47346,
"c": 0.16522,
"h": 360
},
"luminance": 0.0922
}Semantic roles & 50–950 ramp
primary
#9F2258
secondary
#5BC195
accent
#E89F40
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C