#941771#941771
#941771 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.7% C 0.180 H 342.8°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #941771 |
|---|---|
| RGB | rgb(148, 23, 113) |
| HSL | hsl(317, 73%, 34%) |
| HSV | hsv(317, 84%, 58%) |
| CMYK | cmyk(0%, 84.5%, 23.6%, 42%) |
| CIE-LAB | lab(34.20, 56.81, -19.80) |
| CIE-LCH | lch(34.20, 60.16, 340.79°) |
| OKLab | oklab(45.67% 0.1716 -0.0531) |
| OKLCH | oklch(45.67% 0.18 342.8) |
| XYZ | xyz(15.5004, 8.1027, 16.3673) |
| Luminance | 0.0810 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.32
Deep Magenta
#A0025C
ΔE00 6.40
Warm Purple
#952E8F
ΔE00 6.42
Dark Magenta
#960056
ΔE00 6.48
Dark Fuchsia
#9D0759
ΔE00 6.78
Darkmagenta
#8B008B
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#941771 #17943A
analogous
#781794 #941771 #941732
triadic
#941771 #719417 #177194
tetradic
#941771 #947817 #17943A #173294
square
#941771 #947817 #17943A #173294
split-complementary
#941771 #329417 #179478
monochromatic
#2A0720 #5F0F49 #941771 #C91F99 #E244B6
Accessibility & contrast
On white
8.01
#941771 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#941771 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #941771
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##941771 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##941771 | 1.00 | 8.01 | 2.62 | 8.01 |
| #FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#274473
Deuteranopia (green-blind)
#4F586E
Tritanopia (blue-blind)
#9E1844
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #941771; /* rgb */ color: rgb(148, 23, 113); /* oklch */ color: oklch(45.7% 0.180 342.8);
Tailwind
colors: {
custom: {
50: '#b8669a',
500: '#941771',
950: '#000000',
},
}SCSS
$custom: #941771; $custom-light: #b8669a; $custom-dark: #000000;
JSON
{
"hex": "#941771",
"rgb": {
"r": 148,
"g": 23,
"b": 113
},
"hsl": {
"h": 316.8,
"s": 73.099,
"l": 33.529
},
"oklch": {
"l": 0.45667,
"c": 0.17961,
"h": 342.8
},
"luminance": 0.08101
}Semantic roles & 50–950 ramp
primary
#941771
secondary
#44C368
accent
#F06B38
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E