#95227E#95227E
#95227E is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.3% C 0.178 H 337.6°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).
Color values
| HEX | #95227E |
|---|---|
| RGB | rgb(149, 34, 126) |
| HSL | hsl(312, 63%, 36%) |
| HSV | hsv(312, 77%, 58%) |
| CMYK | cmyk(0%, 77.2%, 15.4%, 41.6%) |
| CIE-LAB | lab(36.06, 55.81, -25.05) |
| CIE-LCH | lch(36.06, 61.18, 335.83°) |
| OKLab | oklab(47.25% 0.1649 -0.0681) |
| OKLCH | oklch(47.25% 0.178 337.6) |
| XYZ | xyz(16.7327, 9.0416, 20.5986) |
| Luminance | 0.0904 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.65
Barney Purple
#A00498
ΔE00 5.09
Darkmagenta
#8B008B
ΔE00 5.67
Red Violet
#9E0168
ΔE00 5.69
Purple
#800080
ΔE00 6.63
Light Eggplant
#894585
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#95227E #229539
analogous
#722295 #95227E #952244
triadic
#95227E #7E9522 #227E95
tetradic
#95227E #957222 #229539 #224495
square
#95227E #957222 #229539 #224495
split-complementary
#95227E #449522 #229572
monochromatic
#310B2A #631754 #95227E #C72DA8 #D958BF
Accessibility & contrast
On white
7.48
#95227E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#95227E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #95227E
7.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##95227E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##95227E | 1.00 | 7.48 | 2.81 | 7.48 |
| #FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#274A80
Deuteranopia (green-blind)
#4E5B7B
Tritanopia (blue-blind)
#9D294E
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #95227e; /* rgb */ color: rgb(149, 34, 126); /* oklch */ color: oklch(47.3% 0.178 337.6);
Tailwind
colors: {
custom: {
50: '#b86aa3',
500: '#95227e',
950: '#000000',
},
}SCSS
$custom: #95227e; $custom-light: #b86aa3; $custom-dark: #000000;
JSON
{
"hex": "#95227e",
"rgb": {
"r": 149,
"g": 34,
"b": 126
},
"hsl": {
"h": 312,
"s": 62.842,
"l": 35.882
},
"oklch": {
"l": 0.4725,
"c": 0.17843,
"h": 337.6
},
"luminance": 0.0904
}Semantic roles & 50–950 ramp
primary
#95227E
secondary
#56BD6A
accent
#E66342
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F