#9F2E7E#9F2E7E
#9F2E7E is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.9% C 0.171 H 341.8°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2E7E |
|---|---|
| RGB | rgb(159, 46, 126) |
| HSL | hsl(318, 55%, 40%) |
| HSV | hsv(318, 71%, 62%) |
| CMYK | cmyk(0%, 71.1%, 20.8%, 37.6%) |
| CIE-LAB | lab(39.30, 54.21, -19.89) |
| CIE-LCH | lch(39.30, 57.75, 339.86°) |
| OKLab | oklab(49.93% 0.1624 -0.0534) |
| OKLCH | oklch(49.93% 0.171 341.8) |
| XYZ | xyz(19.0416, 10.8332, 20.8228) |
| Luminance | 0.1083 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 5.08
Red Violet
#9E0168
ΔE00 5.56
Light Eggplant
#894585
ΔE00 6.22
Barney Purple
#A00498
ΔE00 7.01
Magenta (survey)
#C20078
ΔE00 7.07
Bruise
#7E4071
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2E7E #2E9F4F
analogous
#872E9F #9F2E7E #9F2E46
triadic
#9F2E7E #7E9F2E #2E7E9F
tetradic
#9F2E7E #9F872E #2E9F4F #2E469F
square
#9F2E7E #9F872E #2E9F4F #2E469F
split-complementary
#9F2E7E #469F2E #2E9F87
monochromatic
#401333 #702058 #9F2E7E #C842A1 #D671B9
Accessibility & contrast
On white
6.63
#9F2E7E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#9F2E7E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F2E7E
6.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2E7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2E7E | 1.00 | 6.63 | 3.17 | 6.63 |
| #FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#375180
Deuteranopia (green-blind)
#5A637B
Tritanopia (blue-blind)
#A93052
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #9f2e7e; /* rgb */ color: rgb(159, 46, 126); /* oklch */ color: oklch(49.9% 0.171 341.8);
Tailwind
colors: {
custom: {
50: '#bf71a3',
500: '#9f2e7e',
950: '#000000',
},
}SCSS
$custom: #9f2e7e; $custom-light: #bf71a3; $custom-dark: #000000;
JSON
{
"hex": "#9f2e7e",
"rgb": {
"r": 159,
"g": 46,
"b": 126
},
"hsl": {
"h": 317.522,
"s": 55.122,
"l": 40.196
},
"oklch": {
"l": 0.49928,
"c": 0.17093,
"h": 341.8
},
"luminance": 0.10831
}Semantic roles & 50–950 ramp
primary
#9F2E7E
secondary
#6BBE83
accent
#DE7549
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F