#9F2174#9F2174
#9F2174 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.4% C 0.179 H 345.7°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2174 |
|---|---|
| RGB | rgb(159, 33, 116) |
| HSL | hsl(320, 66%, 38%) |
| HSV | hsv(320, 79%, 62%) |
| CMYK | cmyk(0%, 79.2%, 27%, 37.6%) |
| CIE-LAB | lab(37.34, 57.20, -16.67) |
| CIE-LCH | lch(37.34, 59.58, 343.75°) |
| OKLab | oklab(48.36% 0.1738 -0.0443) |
| OKLCH | oklch(48.36% 0.179 345.7) |
| XYZ | xyz(17.9951, 9.7216, 17.4484) |
| Luminance | 0.0972 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.08
Deep Magenta
#A0025C
ΔE00 5.55
Dark Fuchsia
#9D0759
ΔE00 6.08
Dark Magenta
#960056
ΔE00 6.51
Magenta (survey)
#C20078
ΔE00 6.56
Warm Purple
#952E8F
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2174 #219F4C
analogous
#8B219F #9F2174 #9F2135
triadic
#9F2174 #749F21 #21749F
tetradic
#9F2174 #9F8B21 #219F4C #21359F
square
#9F2174 #9F8B21 #219F4C #21359F
split-complementary
#9F2174 #359F21 #219F8B
monochromatic
#3A0C2A #6C164F #9F2174 #D22C99 #DD5DB2
Accessibility & contrast
On white
7.13
#9F2174 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#9F2174 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F2174
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2174 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2174 | 1.00 | 7.13 | 2.94 | 7.13 |
| #FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#334A76
Deuteranopia (green-blind)
#595F71
Tritanopia (blue-blind)
#AA1E48
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9f2174; /* rgb */ color: rgb(159, 33, 116); /* oklch */ color: oklch(48.4% 0.179 345.7);
Tailwind
colors: {
custom: {
50: '#c06b9c',
500: '#9f2174',
950: '#000000',
},
}SCSS
$custom: #9f2174; $custom-light: #c06b9c; $custom-dark: #000000;
JSON
{
"hex": "#9f2174",
"rgb": {
"r": 159,
"g": 33,
"b": 116
},
"hsl": {
"h": 320.476,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.48363,
"c": 0.17934,
"h": 345.7
},
"luminance": 0.0972
}Semantic roles & 50–950 ramp
primary
#9F2174
secondary
#5AC27D
accent
#E9793F
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E