#9F2A7E#9F2A7E
#9F2A7E is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.6% C 0.176 H 341.6°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2A7E |
|---|---|
| RGB | rgb(159, 42, 126) |
| HSL | hsl(317, 58%, 39%) |
| HSV | hsv(317, 74%, 62%) |
| CMYK | cmyk(0%, 73.6%, 20.8%, 37.6%) |
| CIE-LAB | lab(38.79, 55.65, -20.68) |
| CIE-LCH | lch(38.79, 59.37, 339.62°) |
| OKLab | oklab(49.56% 0.1668 -0.0556) |
| OKLCH | oklch(49.56% 0.176 341.6) |
| XYZ | xyz(18.8925, 10.5351, 20.7731) |
| Luminance | 0.1053 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.86
Red Violet
#9E0168
ΔE00 5.24
Light Eggplant
#894585
ΔE00 6.51
Barney Purple
#A00498
ΔE00 6.56
Magenta (survey)
#C20078
ΔE00 7.17
Bruise
#7E4071
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2A7E #2A9F4B
analogous
#862A9F #9F2A7E #9F2A44
triadic
#9F2A7E #7E9F2A #2A7E9F
tetradic
#9F2A7E #9F862A #2A9F4B #2A449F
square
#9F2A7E #9F862A #2A9F4B #2A449F
split-complementary
#9F2A7E #449F2A #2A9F86
monochromatic
#3E1031 #6F1D58 #9F2A7E #CB3BA3 #D86BB9
Accessibility & contrast
On white
6.76
#9F2A7E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#9F2A7E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F2A7E
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2A7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2A7E | 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)
#344F80
Deuteranopia (green-blind)
#59627B
Tritanopia (blue-blind)
#A92C50
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #9f2a7e; /* rgb */ color: rgb(159, 42, 126); /* oklch */ color: oklch(49.6% 0.176 341.6);
Tailwind
colors: {
custom: {
50: '#bf6fa3',
500: '#9f2a7e',
950: '#000000',
},
}SCSS
$custom: #9f2a7e; $custom-light: #bf6fa3; $custom-dark: #000000;
JSON
{
"hex": "#9f2a7e",
"rgb": {
"r": 159,
"g": 42,
"b": 126
},
"hsl": {
"h": 316.923,
"s": 58.209,
"l": 39.412
},
"oklch": {
"l": 0.49556,
"c": 0.17579,
"h": 341.6
},
"luminance": 0.10533
}Semantic roles & 50–950 ramp
primary
#9F2A7E
secondary
#66BF7F
accent
#E17246
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F