#9F2F7E#9F2F7E
#9F2F7E is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.0% C 0.170 H 341.9°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2F7E |
|---|---|
| RGB | rgb(159, 47, 126) |
| HSL | hsl(318, 54%, 40%) |
| HSV | hsv(318, 70%, 62%) |
| CMYK | cmyk(0%, 70.4%, 20.8%, 37.6%) |
| CIE-LAB | lab(39.43, 53.84, -19.68) |
| CIE-LCH | lch(39.43, 57.32, 339.92°) |
| OKLab | oklab(50.03% 0.1612 -0.0528) |
| OKLCH | oklch(50.03% 0.17 341.9) |
| XYZ | xyz(19.0811, 10.9122, 20.8360) |
| Luminance | 0.1091 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 5.16
Red Violet
#9E0168
ΔE00 5.65
Light Eggplant
#894585
ΔE00 6.15
Magenta (survey)
#C20078
ΔE00 7.06
Barney Purple
#A00498
ΔE00 7.13
Bruise
#7E4071
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2F7E #2F9F50
analogous
#882F9F #9F2F7E #9F2F46
triadic
#9F2F7E #7E9F2F #2F7E9F
tetradic
#9F2F7E #9F882F #2F9F50 #2F469F
square
#9F2F7E #9F882F #2F9F50 #2F469F
split-complementary
#9F2F7E #469F2F #2F9F88
monochromatic
#411333 #702159 #9F2F7E #C844A1 #D673B8
Accessibility & contrast
On white
6.60
#9F2F7E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#9F2F7E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F2F7E
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2F7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2F7E | 1.00 | 6.60 | 3.18 | 6.60 |
| #FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#385180
Deuteranopia (green-blind)
#5B647B
Tritanopia (blue-blind)
#A93052
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #9f2f7e; /* rgb */ color: rgb(159, 47, 126); /* oklch */ color: oklch(50.0% 0.170 341.9);
Tailwind
colors: {
custom: {
50: '#bf71a3',
500: '#9f2f7e',
950: '#000000',
},
}SCSS
$custom: #9f2f7e; $custom-light: #bf71a3; $custom-dark: #000000;
JSON
{
"hex": "#9f2f7e",
"rgb": {
"r": 159,
"g": 47,
"b": 126
},
"hsl": {
"h": 317.679,
"s": 54.369,
"l": 40.392
},
"oklch": {
"l": 0.50026,
"c": 0.16967,
"h": 341.9
},
"luminance": 0.1091
}Semantic roles & 50–950 ramp
primary
#9F2F7E
secondary
#6DBD84
accent
#DE764A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F