#942166#942166
#942166 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.9% C 0.164 H 348.9°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #942166 |
|---|---|
| RGB | rgb(148, 33, 102) |
| HSL | hsl(324, 64%, 35%) |
| HSV | hsv(324, 78%, 58%) |
| CMYK | cmyk(0%, 77.7%, 31.1%, 42%) |
| CIE-LAB | lab(34.69, 52.64, -12.04) |
| CIE-LCH | lch(34.69, 54.00, 347.12°) |
| OKLab | oklab(45.87% 0.1608 -0.0316) |
| OKLCH | oklch(45.87% 0.164 348.9) |
| XYZ | xyz(15.1557, 8.3447, 13.3804) |
| Luminance | 0.0834 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.48
Deep Magenta
#A0025C
ΔE00 3.94
Dark Magenta
#960056
ΔE00 4.10
Dark Fuchsia
#9D0759
ΔE00 4.14
Reddish Purple
#910951
ΔE00 4.89
Mulberry
#920A4E
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942166 #21944F
analogous
#882194 #942166 #94212C
triadic
#942166 #669421 #216694
tetradic
#942166 #948821 #21944F #212C94
square
#942166 #948821 #21944F #212C94
split-complementary
#942166 #2C9421 #219488
monochromatic
#300B21 #621644 #942166 #C62C88 #D956A5
Accessibility & contrast
On white
7.87
#942166 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#942166 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942166
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942166 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942166 | 1.00 | 7.87 | 2.67 | 7.87 |
| #FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#344568
Deuteranopia (green-blind)
#555963
Tritanopia (blue-blind)
#9F1A41
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #942166; /* rgb */ color: rgb(148, 33, 102); /* oklch */ color: oklch(45.9% 0.164 348.9);
Tailwind
colors: {
custom: {
50: '#b86991',
500: '#942166',
950: '#000000',
},
}SCSS
$custom: #942166; $custom-light: #b86991; $custom-dark: #000000;
JSON
{
"hex": "#942166",
"rgb": {
"r": 148,
"g": 33,
"b": 102
},
"hsl": {
"h": 324,
"s": 63.536,
"l": 35.49
},
"oklch": {
"l": 0.45869,
"c": 0.16383,
"h": 348.9
},
"luminance": 0.08343
}Semantic roles & 50–950 ramp
primary
#942166
secondary
#54BD7E
accent
#E78341
background
#FBF6F8
surface
#F7EBF0
border
#D0C6CB
text
#12070C
muted
#817A7D