#95227F#95227F
#95227F is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.3% C 0.179 H 337.1°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).
Color values
| HEX | #95227F |
|---|---|
| RGB | rgb(149, 34, 127) |
| HSL | hsl(311, 63%, 36%) |
| HSV | hsv(311, 77%, 58%) |
| CMYK | cmyk(0%, 77.2%, 14.8%, 41.6%) |
| CIE-LAB | lab(36.11, 55.96, -25.59) |
| CIE-LCH | lch(36.11, 61.54, 335.42°) |
| OKLab | oklab(47.3% 0.165 -0.0696) |
| OKLCH | oklch(47.3% 0.179 337.1) |
| XYZ | xyz(16.7975, 9.0675, 20.9401) |
| Luminance | 0.0907 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.46
Barney Purple
#A00498
ΔE00 4.89
Darkmagenta
#8B008B
ΔE00 5.51
Red Violet
#9E0168
ΔE00 5.89
Purple
#800080
ΔE00 6.53
Light Eggplant
#894585
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#95227F #229538
analogous
#712295 #95227F #952245
triadic
#95227F #7F9522 #227F95
tetradic
#95227F #957122 #229538 #224595
square
#95227F #957122 #229538 #224595
split-complementary
#95227F #459522 #229571
monochromatic
#310B2A #631755 #95227F #C72DA9 #D958C0
Accessibility & contrast
On white
7.46
#95227F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#95227F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #95227F
7.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##95227F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##95227F | 1.00 | 7.46 | 2.81 | 7.46 |
| #FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#264A81
Deuteranopia (green-blind)
#4E5B7C
Tritanopia (blue-blind)
#9D294E
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #95227f; /* rgb */ color: rgb(149, 34, 127); /* oklch */ color: oklch(47.3% 0.179 337.1);
Tailwind
colors: {
custom: {
50: '#b86aa4',
500: '#95227f',
950: '#000000',
},
}SCSS
$custom: #95227f; $custom-light: #b86aa4; $custom-dark: #000000;
JSON
{
"hex": "#95227f",
"rgb": {
"r": 149,
"g": 34,
"b": 127
},
"hsl": {
"h": 311.478,
"s": 62.842,
"l": 35.882
},
"oklch": {
"l": 0.47302,
"c": 0.17913,
"h": 337.1
},
"luminance": 0.09066
}Semantic roles & 50–950 ramp
primary
#95227F
secondary
#56BD69
accent
#E66142
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F