#951C74#951C74
#951C74 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.3% C 0.178 H 342.0°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #951C74 |
|---|---|
| RGB | rgb(149, 28, 116) |
| HSL | hsl(316, 68%, 35%) |
| HSV | hsv(316, 81%, 58%) |
| CMYK | cmyk(0%, 81.2%, 22.1%, 41.6%) |
| CIE-LAB | lab(34.97, 56.17, -20.48) |
| CIE-LCH | lch(34.97, 59.79, 339.97°) |
| OKLab | oklab(46.3% 0.169 -0.0551) |
| OKLCH | oklch(46.3% 0.178 342) |
| XYZ | xyz(15.9626, 8.4827, 17.3163) |
| Luminance | 0.0848 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.71
Warm Purple
#952E8F
ΔE00 5.77
Deep Magenta
#A0025C
ΔE00 6.76
Barney Purple
#A00498
ΔE00 6.86
Darkmagenta
#8B008B
ΔE00 7.00
Dark Magenta
#960056
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#951C74 #1C953D
analogous
#7A1C95 #951C74 #951C37
triadic
#951C74 #74951C #1C7495
tetradic
#951C74 #957A1C #1C953D #1C3795
square
#951C74 #957A1C #1C953D #1C3795
split-complementary
#951C74 #37951C #1C957A
monochromatic
#2E0924 #61124C #951C74 #C9269C #DE4EB6
Accessibility & contrast
On white
7.79
#951C74 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#951C74 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #951C74
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##951C74 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##951C74 | 1.00 | 7.79 | 2.70 | 7.79 |
| #FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#294676
Deuteranopia (green-blind)
#505971
Tritanopia (blue-blind)
#9F1E47
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #951c74; /* rgb */ color: rgb(149, 28, 116); /* oklch */ color: oklch(46.3% 0.178 342.0);
Tailwind
colors: {
custom: {
50: '#b8689c',
500: '#951c74',
950: '#000000',
},
}SCSS
$custom: #951c74; $custom-light: #b8689c; $custom-dark: #000000;
JSON
{
"hex": "#951c74",
"rgb": {
"r": 149,
"g": 28,
"b": 116
},
"hsl": {
"h": 316.364,
"s": 68.362,
"l": 34.706
},
"oklch": {
"l": 0.46304,
"c": 0.17776,
"h": 342
},
"luminance": 0.08481
}Semantic roles & 50–950 ramp
primary
#951C74
secondary
#4DC06C
accent
#EB6C3D
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E