#942771#942771
#942771 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.9% C 0.163 H 343.7°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).
Color values
| HEX | #942771 |
|---|---|
| RGB | rgb(148, 39, 113) |
| HSL | hsl(319, 58%, 37%) |
| HSV | hsv(319, 74%, 58%) |
| CMYK | cmyk(0%, 73.6%, 23.6%, 42%) |
| CIE-LAB | lab(35.87, 52.04, -17.21) |
| CIE-LCH | lch(35.87, 54.81, 341.70°) |
| OKLab | oklab(46.88% 0.1569 -0.046) |
| OKLCH | oklch(46.88% 0.163 343.7) |
| XYZ | xyz(15.9195, 8.9408, 16.5070) |
| Luminance | 0.0894 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.69
Deep Magenta
#A0025C
ΔE00 6.18
Bruise
#7E4071
ΔE00 6.39
Warm Purple
#952E8F
ΔE00 6.40
Dark Fuchsia
#9D0759
ΔE00 6.52
Dark Magenta
#960056
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942771 #27944A
analogous
#812794 #942771 #94273B
triadic
#942771 #719427 #277194
tetradic
#942771 #948127 #27944A #273B94
square
#942771 #948127 #27944A #273B94
split-complementary
#942771 #3B9427 #279481
monochromatic
#330D27 #641A4C #942771 #C43496 #D560B0
Accessibility & contrast
On white
7.53
#942771 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#942771 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942771
7.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942771 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942771 | 1.00 | 7.53 | 2.79 | 7.53 |
| #FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#334973
Deuteranopia (green-blind)
#545B6E
Tritanopia (blue-blind)
#9E2748
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #942771; /* rgb */ color: rgb(148, 39, 113); /* oklch */ color: oklch(46.9% 0.163 343.7);
Tailwind
colors: {
custom: {
50: '#b76c9a',
500: '#942771',
950: '#000000',
},
}SCSS
$custom: #942771; $custom-light: #b76c9a; $custom-dark: #000000;
JSON
{
"hex": "#942771",
"rgb": {
"r": 148,
"g": 39,
"b": 113
},
"hsl": {
"h": 319.266,
"s": 58.289,
"l": 36.667
},
"oklch": {
"l": 0.46879,
"c": 0.16347,
"h": 343.7
},
"luminance": 0.08939
}Semantic roles & 50–950 ramp
primary
#942771
secondary
#5CBB7B
accent
#E27846
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E