#951871#951871
#951871 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.9% C 0.179 H 343.2°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).
Color values
| HEX | #951871 |
|---|---|
| RGB | rgb(149, 24, 113) |
| HSL | hsl(317, 72%, 34%) |
| HSV | hsv(317, 84%, 58%) |
| CMYK | cmyk(0%, 83.9%, 24.2%, 41.6%) |
| CIE-LAB | lab(34.47, 56.81, -19.35) |
| CIE-LCH | lch(34.47, 60.01, 341.18°) |
| OKLab | oklab(45.9% 0.1717 -0.0519) |
| OKLCH | oklch(45.9% 0.179 343.2) |
| XYZ | xyz(15.7023, 8.2368, 16.3825) |
| Luminance | 0.0824 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.14
Deep Magenta
#A0025C
ΔE00 6.21
Dark Magenta
#960056
ΔE00 6.37
Warm Purple
#952E8F
ΔE00 6.45
Dark Fuchsia
#9D0759
ΔE00 6.60
Reddish Purple
#910951
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#951871 #18953C
analogous
#7B1895 #951871 #951833
triadic
#951871 #719518 #187195
tetradic
#951871 #957B18 #18953C #183395
square
#951871 #957B18 #18953C #183395
split-complementary
#951871 #339518 #18957B
monochromatic
#2C0721 #601049 #951871 #CA2099 #E146B5
Accessibility & contrast
On white
7.93
#951871 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#951871 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #951871
7.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##951871 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##951871 | 1.00 | 7.93 | 2.65 | 7.93 |
| #FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#284473
Deuteranopia (green-blind)
#50586E
Tritanopia (blue-blind)
#9F1844
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #951871; /* rgb */ color: rgb(149, 24, 113); /* oklch */ color: oklch(45.9% 0.179 343.2);
Tailwind
colors: {
custom: {
50: '#b8669a',
500: '#951871',
950: '#000000',
},
}SCSS
$custom: #951871; $custom-light: #b8669a; $custom-dark: #000000;
JSON
{
"hex": "#951871",
"rgb": {
"r": 149,
"g": 24,
"b": 113
},
"hsl": {
"h": 317.28,
"s": 72.254,
"l": 33.922
},
"oklch": {
"l": 0.459,
"c": 0.17939,
"h": 343.2
},
"luminance": 0.08235
}Semantic roles & 50–950 ramp
primary
#951871
secondary
#46C26A
accent
#EF6D39
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E