#9F3166#9F3166
#9F3166 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.2% C 0.153 H 354.6°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #9F3166 |
|---|---|
| RGB | rgb(159, 49, 102) |
| HSL | hsl(331, 53%, 41%) |
| HSV | hsv(331, 69%, 62%) |
| CMYK | cmyk(0%, 69.2%, 35.8%, 37.6%) |
| CIE-LAB | lab(38.78, 49.94, -5.69) |
| CIE-LCH | lch(38.78, 50.26, 353.50°) |
| OKLab | oklab(49.24% 0.1528 -0.0144) |
| OKLCH | oklch(49.24% 0.153 354.6) |
| XYZ | xyz(17.7957, 10.5289, 13.6629) |
| Luminance | 0.1053 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Magenta
#A0025C
ΔE00 4.68
Dark Fuchsia
#9D0759
ΔE00 4.81
Violet Red
#A50055
ΔE00 5.27
Red Violet
#9E0168
ΔE00 5.62
Dark Magenta
#960056
ΔE00 5.97
Reddish Purple
#910951
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F3166 #319F6A
analogous
#9F319D #9F3166 #9F3331
triadic
#9F3166 #669F31 #31669F
tetradic
#9F3166 #9D9F31 #319F6A #33319F
square
#9F3166 #9D9F31 #319F6A #33319F
split-complementary
#9F3166 #319F33 #319D9F
monochromatic
#41142A #702348 #9F3166 #C64784 #D576A3
Accessibility & contrast
On white
6.76
#9F3166 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#9F3166 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F3166
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F3166 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F3166 | 1.00 | 6.76 | 3.11 | 6.76 |
| #FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444E67
Deuteranopia (green-blind)
#636363
Tritanopia (blue-blind)
#AB2847
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #9f3166; /* rgb */ color: rgb(159, 49, 102); /* oklch */ color: oklch(49.2% 0.153 354.6);
Tailwind
colors: {
custom: {
50: '#bf7191',
500: '#9f3166',
950: '#000000',
},
}SCSS
$custom: #9f3166; $custom-light: #bf7191; $custom-dark: #000000;
JSON
{
"hex": "#9f3166",
"rgb": {
"r": 159,
"g": 49,
"b": 102
},
"hsl": {
"h": 331.091,
"s": 52.885,
"l": 40.784
},
"oklch": {
"l": 0.49238,
"c": 0.15349,
"h": 354.6
},
"luminance": 0.10527
}Semantic roles & 50–950 ramp
primary
#9F3166
secondary
#6FBD97
accent
#DC974C
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080C
muted
#827B7D