#942060#942060
#942060 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.5% C 0.162 H 352.0°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #942060 |
|---|---|
| RGB | rgb(148, 32, 96) |
| HSL | hsl(327, 64%, 35%) |
| HSV | hsv(327, 78%, 58%) |
| CMYK | cmyk(0%, 78.4%, 35.1%, 42%) |
| CIE-LAB | lab(34.35, 52.24, -8.71) |
| CIE-LCH | lch(34.35, 52.96, 350.53°) |
| OKLab | oklab(45.54% 0.1602 -0.0225) |
| OKLCH | oklch(45.54% 0.162 352) |
| XYZ | xyz(14.8415, 8.1752, 11.8605) |
| Luminance | 0.0817 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Fuchsia
#9D0759
ΔE00 2.92
Deep Magenta
#A0025C
ΔE00 2.94
Dark Magenta
#960056
ΔE00 2.96
Red Violet
#9E0168
ΔE00 3.03
Reddish Purple
#910951
ΔE00 3.58
Mulberry
#920A4E
ΔE00 4.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942060 #209454
analogous
#8E2094 #942060 #942026
triadic
#942060 #609420 #206094
tetradic
#942060 #948E20 #209454 #202694
square
#942060 #948E20 #209454 #202694
split-complementary
#942060 #269420 #20948E
monochromatic
#2F0A1F #62153F #942060 #C62B81 #DA549E
Accessibility & contrast
On white
7.97
#942060 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#942060 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942060
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942060 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942060 | 1.00 | 7.97 | 2.63 | 7.97 |
| #FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#364362
Deuteranopia (green-blind)
#57585D
Tritanopia (blue-blind)
#A0153D
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #942060; /* rgb */ color: rgb(148, 32, 96); /* oklch */ color: oklch(45.5% 0.162 352.0);
Tailwind
colors: {
custom: {
50: '#b8688d',
500: '#942060',
950: '#000000',
},
}SCSS
$custom: #942060; $custom-light: #b8688d; $custom-dark: #000000;
JSON
{
"hex": "#942060",
"rgb": {
"r": 148,
"g": 32,
"b": 96
},
"hsl": {
"h": 326.897,
"s": 64.444,
"l": 35.294
},
"oklch": {
"l": 0.45541,
"c": 0.16178,
"h": 352
},
"luminance": 0.08173
}Semantic roles & 50–950 ramp
primary
#942060
secondary
#52BE82
accent
#E78B40
background
#FBF6F8
surface
#F7EBF0
border
#D0C6CB
text
#12070C
muted
#817A7D