#942571#942571
#942571 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.7% C 0.166 H 343.5°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).
Color values
| HEX | #942571 |
|---|---|
| RGB | rgb(148, 37, 113) |
| HSL | hsl(319, 60%, 36%) |
| HSV | hsv(319, 75%, 58%) |
| CMYK | cmyk(0%, 75%, 23.6%, 42%) |
| CIE-LAB | lab(35.62, 52.74, -17.59) |
| CIE-LCH | lch(35.62, 55.59, 341.55°) |
| OKLab | oklab(46.7% 0.159 -0.047) |
| OKLCH | oklch(46.7% 0.166 343.5) |
| XYZ | xyz(15.8555, 8.8129, 16.4856) |
| Luminance | 0.0881 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.56
Deep Magenta
#A0025C
ΔE00 6.17
Warm Purple
#952E8F
ΔE00 6.35
Dark Magenta
#960056
ΔE00 6.50
Dark Fuchsia
#9D0759
ΔE00 6.52
Bruise
#7E4071
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942571 #259448
analogous
#802594 #942571 #94253A
triadic
#942571 #719425 #257194
tetradic
#942571 #948025 #259448 #253A94
square
#942571 #948025 #259448 #253A94
split-complementary
#942571 #3A9425 #259480
monochromatic
#320D26 #63194C #942571 #C53196 #D65DB0
Accessibility & contrast
On white
7.60
#942571 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#942571 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942571
7.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942571 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942571 | 1.00 | 7.60 | 2.76 | 7.60 |
| #FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#314873
Deuteranopia (green-blind)
#535A6E
Tritanopia (blue-blind)
#9E2548
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #942571; /* rgb */ color: rgb(148, 37, 113); /* oklch */ color: oklch(46.7% 0.166 343.5);
Tailwind
colors: {
custom: {
50: '#b76b9a',
500: '#942571',
950: '#000000',
},
}SCSS
$custom: #942571; $custom-light: #b76b9a; $custom-dark: #000000;
JSON
{
"hex": "#942571",
"rgb": {
"r": 148,
"g": 37,
"b": 113
},
"hsl": {
"h": 318.919,
"s": 60,
"l": 36.275
},
"oklch": {
"l": 0.46698,
"c": 0.16583,
"h": 343.5
},
"luminance": 0.08811
}Semantic roles & 50–950 ramp
primary
#942571
secondary
#59BB78
accent
#E37745
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E