#951C71#951C71
#951C71 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.2% C 0.176 H 343.4°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #951C71 |
|---|---|
| RGB | rgb(149, 28, 113) |
| HSL | hsl(318, 68%, 35%) |
| HSV | hsv(318, 81%, 58%) |
| CMYK | cmyk(0%, 81.2%, 24.2%, 41.6%) |
| CIE-LAB | lab(34.83, 55.77, -18.80) |
| CIE-LCH | lch(34.83, 58.86, 341.37°) |
| OKLab | oklab(46.16% 0.1685 -0.0503) |
| OKLCH | oklch(46.16% 0.176 343.4) |
| XYZ | xyz(15.7910, 8.4140, 16.4121) |
| Luminance | 0.0841 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.14
Deep Magenta
#A0025C
ΔE00 6.12
Dark Magenta
#960056
ΔE00 6.34
Warm Purple
#952E8F
ΔE00 6.40
Dark Fuchsia
#9D0759
ΔE00 6.51
Reddish Purple
#910951
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#951C71 #1C9540
analogous
#7D1C95 #951C71 #951C35
triadic
#951C71 #71951C #1C7195
tetradic
#951C71 #957D1C #1C9540 #1C3595
square
#951C71 #957D1C #1C9540 #1C3595
split-complementary
#951C71 #35951C #1C957D
monochromatic
#2E0923 #61124A #951C71 #C92698 #DE4EB3
Accessibility & contrast
On white
7.83
#951C71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#951C71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #951C71
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##951C71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##951C71 | 1.00 | 7.83 | 2.68 | 7.83 |
| #FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B4573
Deuteranopia (green-blind)
#51596E
Tritanopia (blue-blind)
#9F1C45
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #951c71; /* rgb */ color: rgb(149, 28, 113); /* oklch */ color: oklch(46.2% 0.176 343.4);
Tailwind
colors: {
custom: {
50: '#b8679a',
500: '#951c71',
950: '#000000',
},
}SCSS
$custom: #951c71; $custom-light: #b8679a; $custom-dark: #000000;
JSON
{
"hex": "#951c71",
"rgb": {
"r": 149,
"g": 28,
"b": 113
},
"hsl": {
"h": 317.851,
"s": 68.362,
"l": 34.706
},
"oklch": {
"l": 0.46159,
"c": 0.17589,
"h": 343.4
},
"luminance": 0.08412
}Semantic roles & 50–950 ramp
primary
#951C71
secondary
#4DC06F
accent
#EB713D
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E