#95217E#95217E
#95217E is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.2% C 0.179 H 337.5°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).
Color values
| HEX | #95217E |
|---|---|
| RGB | rgb(149, 33, 126) |
| HSL | hsl(312, 64%, 36%) |
| HSV | hsv(312, 78%, 58%) |
| CMYK | cmyk(0%, 77.9%, 15.4%, 41.6%) |
| CIE-LAB | lab(35.96, 56.12, -25.22) |
| CIE-LCH | lch(35.96, 61.53, 335.81°) |
| OKLab | oklab(47.17% 0.1659 -0.0686) |
| OKLCH | oklch(47.17% 0.179 337.5) |
| XYZ | xyz(16.7045, 8.9852, 20.5892) |
| Luminance | 0.0898 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.68
Barney Purple
#A00498
ΔE00 5.03
Darkmagenta
#8B008B
ΔE00 5.57
Red Violet
#9E0168
ΔE00 5.68
Purple
#800080
ΔE00 6.53
Light Eggplant
#894585
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#95217E #219538
analogous
#722195 #95217E #952144
triadic
#95217E #7E9521 #217E95
tetradic
#95217E #957221 #219538 #214495
square
#95217E #957221 #219538 #214495
split-complementary
#95217E #449521 #219572
monochromatic
#310B29 #631654 #95217E #C72CA8 #DA57C0
Accessibility & contrast
On white
7.51
#95217E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#95217E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #95217E
7.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##95217E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##95217E | 1.00 | 7.51 | 2.80 | 7.51 |
| #FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#264980
Deuteranopia (green-blind)
#4E5B7B
Tritanopia (blue-blind)
#9D284E
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #95217e; /* rgb */ color: rgb(149, 33, 126); /* oklch */ color: oklch(47.2% 0.179 337.5);
Tailwind
colors: {
custom: {
50: '#b86aa3',
500: '#95217e',
950: '#000000',
},
}SCSS
$custom: #95217e; $custom-light: #b86aa3; $custom-dark: #000000;
JSON
{
"hex": "#95217e",
"rgb": {
"r": 149,
"g": 33,
"b": 126
},
"hsl": {
"h": 311.897,
"s": 63.736,
"l": 35.686
},
"oklch": {
"l": 0.47172,
"c": 0.17947,
"h": 337.5
},
"luminance": 0.08984
}Semantic roles & 50–950 ramp
primary
#95217E
secondary
#54BE69
accent
#E76241
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F