#952F81#952F81
#952F81 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.6% C 0.165 H 336.6°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).
Color values
| HEX | #952F81 |
|---|---|
| RGB | rgb(149, 47, 129) |
| HSL | hsl(312, 52%, 38%) |
| HSV | hsv(312, 68%, 58%) |
| CMYK | cmyk(0%, 68.5%, 13.4%, 41.6%) |
| CIE-LAB | lab(37.86, 51.61, -24.11) |
| CIE-LCH | lch(37.86, 56.97, 334.96°) |
| OKLab | oklab(48.6% 0.1514 -0.0655) |
| OKLCH | oklch(48.6% 0.165 336.6) |
| XYZ | xyz(17.3736, 10.0091, 21.7815) |
| Luminance | 0.1001 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.07
Light Eggplant
#894585
ΔE00 4.93
Barney Purple
#A00498
ΔE00 5.70
Bruise
#7E4071
ΔE00 6.29
Red Violet
#9E0168
ΔE00 6.66
Darkmagenta
#8B008B
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#952F81 #2F9543
analogous
#762F95 #952F81 #952F4E
triadic
#952F81 #81952F #2F8195
tetradic
#952F81 #95762F #2F9543 #2F4E95
square
#952F81 #95762F #2F9543 #2F4E95
split-complementary
#952F81 #4E952F #2F9576
monochromatic
#381230 #662059 #952F81 #C23FA9 #D16DBE
Accessibility & contrast
On white
7.00
#952F81 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
3.00
#952F81 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #952F81
7.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##952F81 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##952F81 | 1.00 | 7.00 | 3.00 | 7.00 |
| #FFFFFF | 7.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#314F83
Deuteranopia (green-blind)
#525F7E
Tritanopia (blue-blind)
#9D3554
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #952f81; /* rgb */ color: rgb(149, 47, 129); /* oklch */ color: oklch(48.6% 0.165 336.6);
Tailwind
colors: {
custom: {
50: '#b770a6',
500: '#952f81',
950: '#000000',
},
}SCSS
$custom: #952f81; $custom-light: #b770a6; $custom-dark: #000000;
JSON
{
"hex": "#952f81",
"rgb": {
"r": 149,
"g": 47,
"b": 129
},
"hsl": {
"h": 311.765,
"s": 52.041,
"l": 38.431
},
"oklch": {
"l": 0.48597,
"c": 0.16497,
"h": 336.6
},
"luminance": 0.10008
}Semantic roles & 50–950 ramp
primary
#952F81
secondary
#67B877
accent
#DB684C
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F