#942E70#942E70
#942E70 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.5% C 0.154 H 344.8°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #942E70 |
|---|---|
| RGB | rgb(148, 46, 112) |
| HSL | hsl(321, 53%, 38%) |
| HSV | hsv(321, 69%, 58%) |
| CMYK | cmyk(0%, 68.9%, 24.3%, 42%) |
| CIE-LAB | lab(36.78, 49.22, -15.18) |
| CIE-LCH | lch(36.78, 51.51, 342.86°) |
| OKLab | oklab(47.53% 0.1484 -0.0404) |
| OKLCH | oklch(47.53% 0.154 344.8) |
| XYZ | xyz(16.1150, 9.4214, 16.2959) |
| Luminance | 0.0942 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.28
Bruise
#7E4071
ΔE00 5.79
Deep Magenta
#A0025C
ΔE00 6.17
Dark Fuchsia
#9D0759
ΔE00 6.45
Dark Magenta
#960056
ΔE00 6.67
Light Eggplant
#894585
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942E70 #2E9452
analogous
#852E94 #942E70 #942E3D
triadic
#942E70 #70942E #2E7094
tetradic
#942E70 #94852E #2E9452 #2E3D94
square
#942E70 #94852E #2E9452 #2E3D94
split-complementary
#942E70 #3D942E #2E9485
monochromatic
#371129 #651F4D #942E70 #C33D93 #D16BAD
Accessibility & contrast
On white
7.28
#942E70 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#942E70 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942E70
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942E70 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942E70 | 1.00 | 7.28 | 2.88 | 7.28 |
| #FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#394C72
Deuteranopia (green-blind)
#575D6E
Tritanopia (blue-blind)
#9E2D4B
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #942e70; /* rgb */ color: rgb(148, 46, 112); /* oklch */ color: oklch(47.5% 0.154 344.8);
Tailwind
colors: {
custom: {
50: '#b76f99',
500: '#942e70',
950: '#000000',
},
}SCSS
$custom: #942e70; $custom-light: #b76f99; $custom-dark: #000000;
JSON
{
"hex": "#942e70",
"rgb": {
"r": 148,
"g": 46,
"b": 112
},
"hsl": {
"h": 321.176,
"s": 52.577,
"l": 38.039
},
"oklch": {
"l": 0.47531,
"c": 0.15383,
"h": 344.8
},
"luminance": 0.0942
}Semantic roles & 50–950 ramp
primary
#942E70
secondary
#66B883
accent
#DC7F4C
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#12080E
muted
#817B7E