#942176#942176
#942176 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.6% C 0.173 H 340.9°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).
Color values
| HEX | #942176 |
|---|---|
| RGB | rgb(148, 33, 118) |
| HSL | hsl(316, 64%, 35%) |
| HSV | hsv(316, 78%, 58%) |
| CMYK | cmyk(0%, 77.7%, 20.3%, 42%) |
| CIE-LAB | lab(35.39, 54.74, -21.11) |
| CIE-LCH | lch(35.39, 58.67, 338.91°) |
| OKLab | oklab(46.6% 0.1639 -0.0569) |
| OKLCH | oklch(46.6% 0.173 340.9) |
| XYZ | xyz(16.0271, 8.6933, 17.9699) |
| Luminance | 0.0869 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.28
Warm Purple
#952E8F
ΔE00 5.23
Barney Purple
#A00498
ΔE00 6.62
Darkmagenta
#8B008B
ΔE00 6.85
Bruise
#7E4071
ΔE00 7.00
Darkish Purple
#751973
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942176 #21943F
analogous
#782194 #942176 #94213C
triadic
#942176 #769421 #217694
tetradic
#942176 #947821 #21943F #213C94
square
#942176 #947821 #21943F #213C94
split-complementary
#942176 #3C9421 #219478
monochromatic
#300B26 #62164E #942176 #C62C9E #D956B7
Accessibility & contrast
On white
7.67
#942176 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#942176 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942176
7.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942176 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942176 | 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)
#2B4778
Deuteranopia (green-blind)
#505A73
Tritanopia (blue-blind)
#9D2449
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #942176; /* rgb */ color: rgb(148, 33, 118); /* oklch */ color: oklch(46.6% 0.173 340.9);
Tailwind
colors: {
custom: {
50: '#b7699d',
500: '#942176',
950: '#000000',
},
}SCSS
$custom: #942176; $custom-light: #b7699d; $custom-dark: #000000;
JSON
{
"hex": "#942176",
"rgb": {
"r": 148,
"g": 33,
"b": 118
},
"hsl": {
"h": 315.652,
"s": 63.536,
"l": 35.49
},
"oklch": {
"l": 0.46602,
"c": 0.17347,
"h": 340.9
},
"luminance": 0.08692
}Semantic roles & 50–950 ramp
primary
#942176
secondary
#54BD6F
accent
#E76C41
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E