#952178#952178
#952178 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.9% C 0.175 H 340.3°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).
Color values
| HEX | #952178 |
|---|---|
| RGB | rgb(149, 33, 120) |
| HSL | hsl(315, 64%, 36%) |
| HSV | hsv(315, 78%, 58%) |
| CMYK | cmyk(0%, 77.9%, 19.5%, 41.6%) |
| CIE-LAB | lab(35.66, 55.26, -21.92) |
| CIE-LCH | lch(35.66, 59.45, 338.37°) |
| OKLab | oklab(46.87% 0.1651 -0.0592) |
| OKLCH | oklch(46.87% 0.175 340.3) |
| XYZ | xyz(16.3289, 8.8350, 18.6110) |
| Luminance | 0.0883 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.52
Warm Purple
#952E8F
ΔE00 4.87
Barney Purple
#A00498
ΔE00 6.24
Darkmagenta
#8B008B
ΔE00 6.63
Light Eggplant
#894585
ΔE00 7.11
Bruise
#7E4071
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#952178 #21953E
analogous
#782195 #952178 #95213E
triadic
#952178 #789521 #217895
tetradic
#952178 #957821 #21953E #213E95
square
#952178 #957821 #21953E #213E95
split-complementary
#952178 #3E9521 #219578
monochromatic
#310B27 #631650 #952178 #C72CA0 #DA57B9
Accessibility & contrast
On white
7.59
#952178 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#952178 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #952178
7.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##952178 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##952178 | 1.00 | 7.59 | 2.77 | 7.59 |
| #FFFFFF | 7.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A487A
Deuteranopia (green-blind)
#505A75
Tritanopia (blue-blind)
#9E254A
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #952178; /* rgb */ color: rgb(149, 33, 120); /* oklch */ color: oklch(46.9% 0.175 340.3);
Tailwind
colors: {
custom: {
50: '#b86a9f',
500: '#952178',
950: '#000000',
},
}SCSS
$custom: #952178; $custom-light: #b86a9f; $custom-dark: #000000;
JSON
{
"hex": "#952178",
"rgb": {
"r": 149,
"g": 33,
"b": 120
},
"hsl": {
"h": 315,
"s": 63.736,
"l": 35.686
},
"oklch": {
"l": 0.46868,
"c": 0.17541,
"h": 340.3
},
"luminance": 0.08833
}Semantic roles & 50–950 ramp
primary
#952178
secondary
#54BE6F
accent
#E76A41
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E