#942E71#942E71
#942E71 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.6% C 0.154 H 344.2°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).
Color values
| HEX | #942E71 |
|---|---|
| RGB | rgb(148, 46, 113) |
| HSL | hsl(321, 53%, 38%) |
| HSV | hsv(321, 69%, 58%) |
| CMYK | cmyk(0%, 68.9%, 23.6%, 42%) |
| CIE-LAB | lab(36.83, 49.36, -15.75) |
| CIE-LCH | lch(36.83, 51.81, 342.31°) |
| OKLab | oklab(47.58% 0.1487 -0.0419) |
| OKLCH | oklch(47.58% 0.154 344.2) |
| XYZ | xyz(16.1709, 9.4438, 16.5908) |
| Luminance | 0.0944 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.36
Bruise
#7E4071
ΔE00 5.74
Deep Magenta
#A0025C
ΔE00 6.35
Dark Fuchsia
#9D0759
ΔE00 6.65
Light Eggplant
#894585
ΔE00 6.70
Warm Purple
#952E8F
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942E71 #2E9451
analogous
#842E94 #942E71 #942E3E
triadic
#942E71 #71942E #2E7194
tetradic
#942E71 #94842E #2E9451 #2E3E94
square
#942E71 #94842E #2E9451 #2E3E94
split-complementary
#942E71 #3E942E #2E9484
monochromatic
#37112A #651F4D #942E71 #C33D95 #D16BAE
Accessibility & contrast
On white
7.27
#942E71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#942E71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942E71
7.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942E71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942E71 | 1.00 | 7.27 | 2.89 | 7.27 |
| #FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#384C73
Deuteranopia (green-blind)
#575D6F
Tritanopia (blue-blind)
#9E2D4B
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #942e71; /* rgb */ color: rgb(148, 46, 113); /* oklch */ color: oklch(47.6% 0.154 344.2);
Tailwind
colors: {
custom: {
50: '#b76f9a',
500: '#942e71',
950: '#000000',
},
}SCSS
$custom: #942e71; $custom-light: #b76f9a; $custom-dark: #000000;
JSON
{
"hex": "#942e71",
"rgb": {
"r": 148,
"g": 46,
"b": 113
},
"hsl": {
"h": 320.588,
"s": 52.577,
"l": 38.039
},
"oklch": {
"l": 0.47575,
"c": 0.15447,
"h": 344.2
},
"luminance": 0.09442
}Semantic roles & 50–950 ramp
primary
#942E71
secondary
#66B882
accent
#DC7D4C
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#12080E
muted
#817B7E