#9F3170#9F3170
#9F3170 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.6% C 0.159 H 349.1°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #9F3170 |
|---|---|
| RGB | rgb(159, 49, 112) |
| HSL | hsl(326, 53%, 41%) |
| HSV | hsv(326, 69%, 62%) |
| CMYK | cmyk(0%, 69.2%, 29.6%, 37.6%) |
| CIE-LAB | lab(39.14, 51.17, -11.42) |
| CIE-LCH | lch(39.14, 52.43, 347.42°) |
| OKLab | oklab(49.62% 0.1557 -0.0299) |
| OKLCH | oklch(49.62% 0.159 349.1) |
| XYZ | xyz(18.3219, 10.7394, 16.4341) |
| Luminance | 0.1074 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.83
Deep Magenta
#A0025C
ΔE00 5.58
Dark Fuchsia
#9D0759
ΔE00 5.94
Magenta (survey)
#C20078
ΔE00 6.18
Dark Magenta
#960056
ΔE00 6.82
Violet Red
#A50055
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F3170 #319F60
analogous
#97319F #9F3170 #9F3139
triadic
#9F3170 #709F31 #31709F
tetradic
#9F3170 #9F9731 #319F60 #31399F
square
#9F3170 #9F9731 #319F60 #31399F
split-complementary
#9F3170 #399F31 #319F97
monochromatic
#41142E #70234F #9F3170 #C64790 #D576AC
Accessibility & contrast
On white
6.67
#9F3170 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#9F3170 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F3170
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F3170 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F3170 | 1.00 | 6.67 | 3.15 | 6.67 |
| #FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#405072
Deuteranopia (green-blind)
#60636D
Tritanopia (blue-blind)
#AA2C4C
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #9f3170; /* rgb */ color: rgb(159, 49, 112); /* oklch */ color: oklch(49.6% 0.159 349.1);
Tailwind
colors: {
custom: {
50: '#bf7299',
500: '#9f3170',
950: '#000000',
},
}SCSS
$custom: #9f3170; $custom-light: #bf7299; $custom-dark: #000000;
JSON
{
"hex": "#9f3170",
"rgb": {
"r": 159,
"g": 49,
"b": 112
},
"hsl": {
"h": 325.636,
"s": 52.885,
"l": 40.784
},
"oklch": {
"l": 0.49623,
"c": 0.15853,
"h": 349.1
},
"luminance": 0.10737
}Semantic roles & 50–950 ramp
primary
#9F3170
secondary
#6FBD90
accent
#DC894C
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080D
muted
#827B7E