#9F226E#9F226E
#9F226E is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.2% C 0.175 H 348.6°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #9F226E |
|---|---|
| RGB | rgb(159, 34, 110) |
| HSL | hsl(324, 65%, 38%) |
| HSV | hsv(324, 79%, 62%) |
| CMYK | cmyk(0%, 78.6%, 30.8%, 37.6%) |
| CIE-LAB | lab(37.19, 56.17, -13.12) |
| CIE-LCH | lch(37.19, 57.68, 346.86°) |
| OKLab | oklab(48.18% 0.1716 -0.0344) |
| OKLCH | oklch(48.18% 0.175 348.6) |
| XYZ | xyz(17.6855, 9.6428, 15.6787) |
| Luminance | 0.0964 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.63
Deep Magenta
#A0025C
ΔE00 4.30
Dark Fuchsia
#9D0759
ΔE00 4.80
Dark Magenta
#960056
ΔE00 5.41
Magenta (survey)
#C20078
ΔE00 6.26
Violet Red
#A50055
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F226E #229F53
analogous
#91229F #9F226E #9F222F
triadic
#9F226E #6E9F22 #226E9F
tetradic
#9F226E #9F9122 #229F53 #222F9F
square
#9F226E #9F9122 #229F53 #222F9F
split-complementary
#9F226E #2F9F22 #229F91
monochromatic
#3A0C28 #6D174B #9F226E #D12D91 #DD5FAB
Accessibility & contrast
On white
7.17
#9F226E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#9F226E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F226E
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F226E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F226E | 1.00 | 7.17 | 2.93 | 7.17 |
| #FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#374A70
Deuteranopia (green-blind)
#5B5F6B
Tritanopia (blue-blind)
#AB1B45
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9f226e; /* rgb */ color: rgb(159, 34, 110); /* oklch */ color: oklch(48.2% 0.175 348.6);
Tailwind
colors: {
custom: {
50: '#c06b97',
500: '#9f226e',
950: '#000000',
},
}SCSS
$custom: #9f226e; $custom-light: #c06b97; $custom-dark: #000000;
JSON
{
"hex": "#9f226e",
"rgb": {
"r": 159,
"g": 34,
"b": 110
},
"hsl": {
"h": 323.52,
"s": 64.767,
"l": 37.843
},
"oklch": {
"l": 0.48177,
"c": 0.17499,
"h": 348.6
},
"luminance": 0.09641
}Semantic roles & 50–950 ramp
primary
#9F226E
secondary
#5BC183
accent
#E88240
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E