#942371#942371
#942371 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.5% C 0.168 H 343.4°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).
Color values
| HEX | #942371 |
|---|---|
| RGB | rgb(148, 35, 113) |
| HSL | hsl(319, 62%, 36%) |
| HSV | hsv(319, 76%, 58%) |
| CMYK | cmyk(0%, 76.4%, 23.6%, 42%) |
| CIE-LAB | lab(35.38, 53.41, -17.96) |
| CIE-LCH | lch(35.38, 56.35, 341.41°) |
| OKLab | oklab(46.53% 0.1611 -0.048) |
| OKLCH | oklch(46.53% 0.168 343.4) |
| XYZ | xyz(15.7950, 8.6919, 16.4655) |
| Luminance | 0.0869 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.46
Deep Magenta
#A0025C
ΔE00 6.18
Warm Purple
#952E8F
ΔE00 6.33
Dark Magenta
#960056
ΔE00 6.47
Dark Fuchsia
#9D0759
ΔE00 6.53
Bruise
#7E4071
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942371 #239446
analogous
#7E2394 #942371 #942338
triadic
#942371 #719423 #237194
tetradic
#942371 #947E23 #239446 #233894
square
#942371 #947E23 #239446 #233894
split-complementary
#942371 #389423 #23947E
monochromatic
#310C25 #63174B #942371 #C52F97 #D85AB1
Accessibility & contrast
On white
7.67
#942371 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#942371 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942371
7.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942371 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942371 | 1.00 | 7.67 | 2.74 | 7.67 |
| #FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F4773
Deuteranopia (green-blind)
#535A6E
Tritanopia (blue-blind)
#9E2347
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #942371; /* rgb */ color: rgb(148, 35, 113); /* oklch */ color: oklch(46.5% 0.168 343.4);
Tailwind
colors: {
custom: {
50: '#b76a9a',
500: '#942371',
950: '#000000',
},
}SCSS
$custom: #942371; $custom-light: #b76a9a; $custom-dark: #000000;
JSON
{
"hex": "#942371",
"rgb": {
"r": 148,
"g": 35,
"b": 113
},
"hsl": {
"h": 318.584,
"s": 61.749,
"l": 35.882
},
"oklch": {
"l": 0.46526,
"c": 0.1681,
"h": 343.4
},
"luminance": 0.0869
}Semantic roles & 50–950 ramp
primary
#942371
secondary
#57BC76
accent
#E57543
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E