#9F226F#9F226F
#9F226F is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.2% C 0.176 H 348.2°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #9F226F |
|---|---|
| RGB | rgb(159, 34, 111) |
| HSL | hsl(323, 65%, 38%) |
| HSV | hsv(323, 79%, 62%) |
| CMYK | cmyk(0%, 78.6%, 30.2%, 37.6%) |
| CIE-LAB | lab(37.23, 56.29, -13.69) |
| CIE-LCH | lch(37.23, 57.93, 346.34°) |
| OKLab | oklab(48.22% 0.1718 -0.036) |
| OKLCH | oklch(48.22% 0.176 348.2) |
| XYZ | xyz(17.7403, 9.6647, 15.9671) |
| Luminance | 0.0966 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.67
Deep Magenta
#A0025C
ΔE00 4.51
Dark Fuchsia
#9D0759
ΔE00 5.01
Dark Magenta
#960056
ΔE00 5.59
Magenta (survey)
#C20078
ΔE00 6.28
Reddish Purple
#910951
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F226F #229F52
analogous
#90229F #9F226F #9F2230
triadic
#9F226F #6F9F22 #226F9F
tetradic
#9F226F #9F9022 #229F52 #22309F
square
#9F226F #9F9022 #229F52 #22309F
split-complementary
#9F226F #309F22 #229F90
monochromatic
#3A0C29 #6D174C #9F226F #D12D92 #DD5FAC
Accessibility & contrast
On white
7.16
#9F226F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#9F226F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F226F
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F226F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F226F | 1.00 | 7.16 | 2.93 | 7.16 |
| #FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#364A71
Deuteranopia (green-blind)
#5B5F6C
Tritanopia (blue-blind)
#AB1B46
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9f226f; /* rgb */ color: rgb(159, 34, 111); /* oklch */ color: oklch(48.2% 0.176 348.2);
Tailwind
colors: {
custom: {
50: '#c06b98',
500: '#9f226f',
950: '#000000',
},
}SCSS
$custom: #9f226f; $custom-light: #c06b98; $custom-dark: #000000;
JSON
{
"hex": "#9f226f",
"rgb": {
"r": 159,
"g": 34,
"b": 111
},
"hsl": {
"h": 323.04,
"s": 64.767,
"l": 37.843
},
"oklch": {
"l": 0.4822,
"c": 0.17553,
"h": 348.2
},
"luminance": 0.09663
}Semantic roles & 50–950 ramp
primary
#9F226F
secondary
#5BC183
accent
#E88040
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E