#95197E#95197E
#95197E is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.6% C 0.187 H 337.4°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #95197E |
|---|---|
| RGB | rgb(149, 25, 126) |
| HSL | hsl(311, 71%, 34%) |
| HSV | hsv(311, 83%, 58%) |
| CMYK | cmyk(0%, 83.2%, 15.4%, 41.6%) |
| CIE-LAB | lab(35.19, 58.33, -26.42) |
| CIE-LCH | lch(35.19, 64.04, 335.63°) |
| OKLab | oklab(46.62% 0.1725 -0.0719) |
| OKLCH | oklch(46.62% 0.187 337.4) |
| XYZ | xyz(16.5083, 8.5928, 20.5238) |
| Luminance | 0.0859 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.03
Barney Purple
#A00498
ΔE00 4.72
Darkmagenta
#8B008B
ΔE00 4.91
Red Violet
#9E0168
ΔE00 5.72
Purple
#800080
ΔE00 5.85
Darkish Purple
#751973
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#95197E #199530
analogous
#6E1995 #95197E #951940
triadic
#95197E #7E9519 #197E95
tetradic
#95197E #956E19 #199530 #194095
square
#95197E #956E19 #199530 #194095
split-complementary
#95197E #409519 #19956E
monochromatic
#2C0725 #611052 #95197E #C922AA #E048C4
Accessibility & contrast
On white
7.73
#95197E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#95197E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #95197E
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##95197E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##95197E | 1.00 | 7.73 | 2.72 | 7.73 |
| #FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E4781
Deuteranopia (green-blind)
#4B597B
Tritanopia (blue-blind)
#9D224C
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #95197e; /* rgb */ color: rgb(149, 25, 126); /* oklch */ color: oklch(46.6% 0.187 337.4);
Tailwind
colors: {
custom: {
50: '#b867a3',
500: '#95197e',
950: '#000000',
},
}SCSS
$custom: #95197e; $custom-light: #b867a3; $custom-dark: #000000;
JSON
{
"hex": "#95197e",
"rgb": {
"r": 149,
"g": 25,
"b": 126
},
"hsl": {
"h": 311.129,
"s": 71.264,
"l": 34.118
},
"oklch": {
"l": 0.46621,
"c": 0.18689,
"h": 337.4
},
"luminance": 0.08591
}Semantic roles & 50–950 ramp
primary
#95197E
secondary
#48C25F
accent
#EE5B3A
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F