#952871#952871
#952871 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.1% C 0.163 H 344.1°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).
Color values
| HEX | #952871 |
|---|---|
| RGB | rgb(149, 40, 113) |
| HSL | hsl(320, 58%, 37%) |
| HSV | hsv(320, 73%, 58%) |
| CMYK | cmyk(0%, 73.2%, 24.2%, 41.6%) |
| CIE-LAB | lab(36.18, 51.94, -16.72) |
| CIE-LCH | lch(36.18, 54.57, 342.15°) |
| OKLab | oklab(47.14% 0.1567 -0.0446) |
| OKLCH | oklch(47.14% 0.163 344.1) |
| XYZ | xyz(16.1345, 9.1011, 16.5266) |
| Luminance | 0.0910 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.67
Deep Magenta
#A0025C
ΔE00 6.05
Bruise
#7E4071
ΔE00 6.40
Dark Fuchsia
#9D0759
ΔE00 6.40
Dark Magenta
#960056
ΔE00 6.50
Warm Purple
#952E8F
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#952871 #28954C
analogous
#832895 #952871 #95283A
triadic
#952871 #719528 #287195
tetradic
#952871 #958328 #28954C #283A95
square
#952871 #958328 #28954C #283A95
split-complementary
#952871 #3A9528 #289583
monochromatic
#350E28 #651B4C #952871 #C53596 #D562AF
Accessibility & contrast
On white
7.45
#952871 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#952871 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #952871
7.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##952871 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##952871 | 1.00 | 7.45 | 2.82 | 7.45 |
| #FFFFFF | 7.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#344973
Deuteranopia (green-blind)
#555C6E
Tritanopia (blue-blind)
#9F2749
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #952871; /* rgb */ color: rgb(149, 40, 113); /* oklch */ color: oklch(47.1% 0.163 344.1);
Tailwind
colors: {
custom: {
50: '#b86c9a',
500: '#952871',
950: '#000000',
},
}SCSS
$custom: #952871; $custom-light: #b86c9a; $custom-dark: #000000;
JSON
{
"hex": "#952871",
"rgb": {
"r": 149,
"g": 40,
"b": 113
},
"hsl": {
"h": 319.817,
"s": 57.672,
"l": 37.059
},
"oklch": {
"l": 0.47137,
"c": 0.16296,
"h": 344.1
},
"luminance": 0.09099
}Semantic roles & 50–950 ramp
primary
#952871
secondary
#5EBB7D
accent
#E17A47
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E