#952271#952271
#952271 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.6% C 0.170 H 343.7°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #952271 |
|---|---|
| RGB | rgb(149, 34, 113) |
| HSL | hsl(319, 63%, 36%) |
| HSV | hsv(319, 77%, 58%) |
| CMYK | cmyk(0%, 77.2%, 24.2%, 41.6%) |
| CIE-LAB | lab(35.45, 53.99, -17.84) |
| CIE-LCH | lch(35.45, 56.86, 341.72°) |
| OKLab | oklab(46.61% 0.163 -0.0477) |
| OKLCH | oklch(46.61% 0.17 343.7) |
| XYZ | xyz(15.9477, 8.7276, 16.4643) |
| Luminance | 0.0873 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.29
Deep Magenta
#A0025C
ΔE00 6.04
Dark Magenta
#960056
ΔE00 6.37
Warm Purple
#952E8F
ΔE00 6.40
Dark Fuchsia
#9D0759
ΔE00 6.41
Bruise
#7E4071
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#952271 #229546
analogous
#7F2295 #952271 #952237
triadic
#952271 #719522 #227195
tetradic
#952271 #957F22 #229546 #223795
square
#952271 #957F22 #229546 #223795
split-complementary
#952271 #379522 #22957F
monochromatic
#310B25 #63174B #952271 #C72D97 #D958B1
Accessibility & contrast
On white
7.65
#952271 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#952271 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #952271
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##952271 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##952271 | 1.00 | 7.65 | 2.75 | 7.65 |
| #FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F4773
Deuteranopia (green-blind)
#535A6E
Tritanopia (blue-blind)
#9F2247
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #952271; /* rgb */ color: rgb(149, 34, 113); /* oklch */ color: oklch(46.6% 0.170 343.7);
Tailwind
colors: {
custom: {
50: '#b86a9a',
500: '#952271',
950: '#000000',
},
}SCSS
$custom: #952271; $custom-light: #b86a9a; $custom-dark: #000000;
JSON
{
"hex": "#952271",
"rgb": {
"r": 149,
"g": 34,
"b": 113
},
"hsl": {
"h": 318.783,
"s": 62.842,
"l": 35.882
},
"oklch": {
"l": 0.46611,
"c": 0.16987,
"h": 343.7
},
"luminance": 0.08726
}Semantic roles & 50–950 ramp
primary
#952271
secondary
#56BD76
accent
#E67542
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E