#9F2A7D#9F2A7D
#9F2A7D is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.5% C 0.175 H 342.0°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2A7D |
|---|---|
| RGB | rgb(159, 42, 125) |
| HSL | hsl(317, 58%, 39%) |
| HSV | hsv(317, 74%, 62%) |
| CMYK | cmyk(0%, 73.6%, 21.4%, 37.6%) |
| CIE-LAB | lab(38.74, 55.52, -20.13) |
| CIE-LCH | lch(38.74, 59.05, 340.07°) |
| OKLab | oklab(49.51% 0.1666 -0.054) |
| OKLCH | oklch(49.51% 0.175 342) |
| XYZ | xyz(18.8283, 10.5094, 20.4350) |
| Luminance | 0.1051 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 5.07
Red Violet
#9E0168
ΔE00 5.08
Light Eggplant
#894585
ΔE00 6.60
Barney Purple
#A00498
ΔE00 6.76
Magenta (survey)
#C20078
ΔE00 7.06
Mediumvioletred
#C71585
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2A7D #2A9F4C
analogous
#872A9F #9F2A7D #9F2A43
triadic
#9F2A7D #7D9F2A #2A7D9F
tetradic
#9F2A7D #9F872A #2A9F4C #2A439F
square
#9F2A7D #9F872A #2A9F4C #2A439F
split-complementary
#9F2A7D #439F2A #2A9F87
monochromatic
#3E1031 #6F1D57 #9F2A7D #CB3BA1 #D86BB8
Accessibility & contrast
On white
6.77
#9F2A7D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#9F2A7D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F2A7D
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2A7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2A7D | 1.00 | 6.77 | 3.10 | 6.77 |
| #FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#354F7F
Deuteranopia (green-blind)
#59627A
Tritanopia (blue-blind)
#A92B50
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #9f2a7d; /* rgb */ color: rgb(159, 42, 125); /* oklch */ color: oklch(49.5% 0.175 342.0);
Tailwind
colors: {
custom: {
50: '#bf6fa3',
500: '#9f2a7d',
950: '#000000',
},
}SCSS
$custom: #9f2a7d; $custom-light: #bf6fa3; $custom-dark: #000000;
JSON
{
"hex": "#9f2a7d",
"rgb": {
"r": 159,
"g": 42,
"b": 125
},
"hsl": {
"h": 317.436,
"s": 58.209,
"l": 39.412
},
"oklch": {
"l": 0.49509,
"c": 0.17514,
"h": 342
},
"luminance": 0.10508
}Semantic roles & 50–950 ramp
primary
#9F2A7D
secondary
#66BF80
accent
#E17346
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13080F
muted
#827B7F