#951878#951878
#951878 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.2% C 0.184 H 340.0°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #951878 |
|---|---|
| RGB | rgb(149, 24, 120) |
| HSL | hsl(314, 72%, 34%) |
| HSV | hsv(314, 84%, 58%) |
| CMYK | cmyk(0%, 83.9%, 19.5%, 41.6%) |
| CIE-LAB | lab(34.80, 57.74, -23.26) |
| CIE-LCH | lch(34.80, 62.25, 338.06°) |
| OKLab | oklab(46.25% 0.1727 -0.0629) |
| OKLCH | oklch(46.25% 0.184 340) |
| XYZ | xyz(16.1117, 8.4006, 18.5386) |
| Luminance | 0.0840 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.53
Warm Purple
#952E8F
ΔE00 5.09
Barney Purple
#A00498
ΔE00 5.89
Darkmagenta
#8B008B
ΔE00 5.94
Purple
#800080
ΔE00 6.54
Darkish Purple
#751973
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#951878 #189535
analogous
#741895 #951878 #95183A
triadic
#951878 #789518 #187895
tetradic
#951878 #957418 #189535 #183A95
square
#951878 #957418 #189535 #183A95
split-complementary
#951878 #3A9518 #189574
monochromatic
#2C0723 #60104E #951878 #CA20A2 #E146BD
Accessibility & contrast
On white
7.84
#951878 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#951878 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #951878
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##951878 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##951878 | 1.00 | 7.84 | 2.68 | 7.84 |
| #FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#23457A
Deuteranopia (green-blind)
#4E5975
Tritanopia (blue-blind)
#9E1E48
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #951878; /* rgb */ color: rgb(149, 24, 120); /* oklch */ color: oklch(46.2% 0.184 340.0);
Tailwind
colors: {
custom: {
50: '#b8669f',
500: '#951878',
950: '#000000',
},
}SCSS
$custom: #951878; $custom-light: #b8669f; $custom-dark: #000000;
JSON
{
"hex": "#951878",
"rgb": {
"r": 149,
"g": 24,
"b": 120
},
"hsl": {
"h": 313.92,
"s": 72.254,
"l": 33.922
},
"oklch": {
"l": 0.46247,
"c": 0.18377,
"h": 340
},
"luminance": 0.08399
}Semantic roles & 50–950 ramp
primary
#951878
secondary
#46C263
accent
#EF6339
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E