#942766#942766
#942766 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.4% C 0.157 H 349.5°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #942766 |
|---|---|
| RGB | rgb(148, 39, 102) |
| HSL | hsl(325, 58%, 37%) |
| HSV | hsv(325, 74%, 58%) |
| CMYK | cmyk(0%, 73.6%, 31.1%, 42%) |
| CIE-LAB | lab(35.42, 50.59, -10.94) |
| CIE-LCH | lch(35.42, 51.76, 347.80°) |
| OKLab | oklab(46.4% 0.1543 -0.0286) |
| OKLCH | oklch(46.4% 0.157 349.5) |
| XYZ | xyz(15.3373, 8.7080, 13.4409) |
| Luminance | 0.0871 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.19
Deep Magenta
#A0025C
ΔE00 4.09
Dark Fuchsia
#9D0759
ΔE00 4.24
Dark Magenta
#960056
ΔE00 4.42
Reddish Purple
#910951
ΔE00 5.07
Mulberry
#920A4E
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942766 #279455
analogous
#8C2794 #942766 #942730
triadic
#942766 #669427 #276694
tetradic
#942766 #948C27 #279455 #273094
square
#942766 #948C27 #279455 #273094
split-complementary
#942766 #309427 #27948C
monochromatic
#330D23 #641A45 #942766 #C43487 #D560A4
Accessibility & contrast
On white
7.66
#942766 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#942766 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942766
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942766 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942766 | 1.00 | 7.66 | 2.74 | 7.66 |
| #FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#384768
Deuteranopia (green-blind)
#575A64
Tritanopia (blue-blind)
#9F2143
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #942766; /* rgb */ color: rgb(148, 39, 102); /* oklch */ color: oklch(46.4% 0.157 349.5);
Tailwind
colors: {
custom: {
50: '#b76b91',
500: '#942766',
950: '#000000',
},
}SCSS
$custom: #942766; $custom-light: #b76b91; $custom-dark: #000000;
JSON
{
"hex": "#942766",
"rgb": {
"r": 148,
"g": 39,
"b": 102
},
"hsl": {
"h": 325.321,
"s": 58.289,
"l": 36.667
},
"oklch": {
"l": 0.46399,
"c": 0.15698,
"h": 349.5
},
"luminance": 0.08706
}Semantic roles & 50–950 ramp
primary
#942766
secondary
#5CBB84
accent
#E28846
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#12070C
muted
#817A7D