#9F226D#9F226D
#9F226D is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.1% C 0.174 H 349.1°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #9F226D |
|---|---|
| RGB | rgb(159, 34, 109) |
| HSL | hsl(324, 65%, 38%) |
| HSV | hsv(324, 79%, 62%) |
| CMYK | cmyk(0%, 78.6%, 31.4%, 37.6%) |
| CIE-LAB | lab(37.15, 56.05, -12.54) |
| CIE-LCH | lch(37.15, 57.43, 347.38°) |
| OKLab | oklab(48.14% 0.1713 -0.0329) |
| OKLCH | oklch(48.14% 0.174 349.1) |
| XYZ | xyz(17.6314, 9.6212, 15.3936) |
| Luminance | 0.0962 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.61
Deep Magenta
#A0025C
ΔE00 4.10
Dark Fuchsia
#9D0759
ΔE00 4.58
Dark Magenta
#960056
ΔE00 5.24
Violet Red
#A50055
ΔE00 6.18
Reddish Purple
#910951
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F226D #229F54
analogous
#92229F #9F226D #9F222E
triadic
#9F226D #6D9F22 #226D9F
tetradic
#9F226D #9F9222 #229F54 #222E9F
square
#9F226D #9F9222 #229F54 #222E9F
split-complementary
#9F226D #2E9F22 #229F92
monochromatic
#3A0C28 #6D174A #9F226D #D12D90 #DD5FAA
Accessibility & contrast
On white
7.18
#9F226D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#9F226D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F226D
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F226D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F226D | 1.00 | 7.18 | 2.92 | 7.18 |
| #FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#37496F
Deuteranopia (green-blind)
#5C5F6A
Tritanopia (blue-blind)
#AB1A45
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9f226d; /* rgb */ color: rgb(159, 34, 109); /* oklch */ color: oklch(48.1% 0.174 349.1);
Tailwind
colors: {
custom: {
50: '#c06b97',
500: '#9f226d',
950: '#000000',
},
}SCSS
$custom: #9f226d; $custom-light: #c06b97; $custom-dark: #000000;
JSON
{
"hex": "#9f226d",
"rgb": {
"r": 159,
"g": 34,
"b": 109
},
"hsl": {
"h": 324,
"s": 64.767,
"l": 37.843
},
"oklch": {
"l": 0.48135,
"c": 0.17446,
"h": 349.1
},
"luminance": 0.09619
}Semantic roles & 50–950 ramp
primary
#9F226D
secondary
#5BC184
accent
#E88340
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E