#942773#942773
#942773 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.0% C 0.165 H 342.6°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).
Color values
| HEX | #942773 |
|---|---|
| RGB | rgb(148, 39, 115) |
| HSL | hsl(318, 58%, 37%) |
| HSV | hsv(318, 74%, 58%) |
| CMYK | cmyk(0%, 73.6%, 22.3%, 42%) |
| CIE-LAB | lab(35.96, 52.31, -18.34) |
| CIE-LCH | lch(35.96, 55.43, 340.68°) |
| OKLab | oklab(46.97% 0.1573 -0.0491) |
| OKLCH | oklch(46.97% 0.165 342.6) |
| XYZ | xyz(16.0333, 8.9864, 17.1065) |
| Luminance | 0.0898 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.97
Warm Purple
#952E8F
ΔE00 5.93
Bruise
#7E4071
ΔE00 6.36
Deep Magenta
#A0025C
ΔE00 6.59
Dark Fuchsia
#9D0759
ΔE00 6.95
Dark Magenta
#960056
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942773 #279448
analogous
#7F2794 #942773 #94273D
triadic
#942773 #739427 #277394
tetradic
#942773 #947F27 #279448 #273D94
square
#942773 #947F27 #279448 #273D94
split-complementary
#942773 #3D9427 #27947F
monochromatic
#330D28 #641A4D #942773 #C43499 #D560B2
Accessibility & contrast
On white
7.51
#942773 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#942773 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942773
7.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942773 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942773 | 1.00 | 7.51 | 2.80 | 7.51 |
| #FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#324975
Deuteranopia (green-blind)
#535B70
Tritanopia (blue-blind)
#9E2849
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #942773; /* rgb */ color: rgb(148, 39, 115); /* oklch */ color: oklch(47.0% 0.165 342.6);
Tailwind
colors: {
custom: {
50: '#b76c9b',
500: '#942773',
950: '#000000',
},
}SCSS
$custom: #942773; $custom-light: #b76c9b; $custom-dark: #000000;
JSON
{
"hex": "#942773",
"rgb": {
"r": 148,
"g": 39,
"b": 115
},
"hsl": {
"h": 318.165,
"s": 58.289,
"l": 36.667
},
"oklch": {
"l": 0.46971,
"c": 0.16475,
"h": 342.6
},
"luminance": 0.08985
}Semantic roles & 50–950 ramp
primary
#942773
secondary
#5CBB79
accent
#E27546
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E