#952171#952171
#952171 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.5% C 0.171 H 343.6°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #952171 |
|---|---|
| RGB | rgb(149, 33, 113) |
| HSL | hsl(319, 64%, 36%) |
| HSV | hsv(319, 78%, 58%) |
| CMYK | cmyk(0%, 77.9%, 24.2%, 41.6%) |
| CIE-LAB | lab(35.34, 54.31, -18.01) |
| CIE-LCH | lch(35.34, 57.21, 341.65°) |
| OKLab | oklab(46.53% 0.164 -0.0481) |
| OKLCH | oklch(46.53% 0.171 343.6) |
| XYZ | xyz(15.9195, 8.6712, 16.4549) |
| Luminance | 0.0867 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.25
Deep Magenta
#A0025C
ΔE00 6.04
Dark Magenta
#960056
ΔE00 6.36
Warm Purple
#952E8F
ΔE00 6.39
Dark Fuchsia
#9D0759
ΔE00 6.42
Bruise
#7E4071
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#952171 #219545
analogous
#7F2195 #952171 #952137
triadic
#952171 #719521 #217195
tetradic
#952171 #957F21 #219545 #213795
square
#952171 #957F21 #219545 #213795
split-complementary
#952171 #379521 #21957F
monochromatic
#310B25 #63164B #952171 #C72C97 #DA57B1
Accessibility & contrast
On white
7.68
#952171 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#952171 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #952171
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##952171 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##952171 | 1.00 | 7.68 | 2.73 | 7.68 |
| #FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F4773
Deuteranopia (green-blind)
#535A6E
Tritanopia (blue-blind)
#9F2146
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #952171; /* rgb */ color: rgb(149, 33, 113); /* oklch */ color: oklch(46.5% 0.171 343.6);
Tailwind
colors: {
custom: {
50: '#b8699a',
500: '#952171',
950: '#000000',
},
}SCSS
$custom: #952171; $custom-light: #b8699a; $custom-dark: #000000;
JSON
{
"hex": "#952171",
"rgb": {
"r": 149,
"g": 33,
"b": 113
},
"hsl": {
"h": 318.621,
"s": 63.736,
"l": 35.686
},
"oklch": {
"l": 0.4653,
"c": 0.17094,
"h": 343.6
},
"luminance": 0.0867
}Semantic roles & 50–950 ramp
primary
#952171
secondary
#54BE75
accent
#E77441
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E