#942066#942066
#942066 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.8% C 0.165 H 348.8°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).
Color values
| HEX | #942066 |
|---|---|
| RGB | rgb(148, 32, 102) |
| HSL | hsl(324, 64%, 35%) |
| HSV | hsv(324, 78%, 58%) |
| CMYK | cmyk(0%, 78.4%, 31.1%, 42%) |
| CIE-LAB | lab(34.58, 52.95, -12.20) |
| CIE-LCH | lch(34.58, 54.34, 347.02°) |
| OKLab | oklab(45.79% 0.1618 -0.032) |
| OKLCH | oklch(45.79% 0.165 348.8) |
| XYZ | xyz(15.1283, 8.2900, 13.3712) |
| Luminance | 0.0829 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.39
Deep Magenta
#A0025C
ΔE00 3.93
Dark Magenta
#960056
ΔE00 4.07
Dark Fuchsia
#9D0759
ΔE00 4.14
Reddish Purple
#910951
ΔE00 4.88
Mulberry
#920A4E
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942066 #20944E
analogous
#882094 #942066 #94202C
triadic
#942066 #669420 #206694
tetradic
#942066 #948820 #20944E #202C94
square
#942066 #948820 #20944E #202C94
split-complementary
#942066 #2C9420 #209488
monochromatic
#2F0A21 #621543 #942066 #C62B89 #DA54A5
Accessibility & contrast
On white
7.90
#942066 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#942066 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942066
7.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942066 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942066 | 1.00 | 7.90 | 2.66 | 7.90 |
| #FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#334468
Deuteranopia (green-blind)
#555963
Tritanopia (blue-blind)
#9F1940
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #942066; /* rgb */ color: rgb(148, 32, 102); /* oklch */ color: oklch(45.8% 0.165 348.8);
Tailwind
colors: {
custom: {
50: '#b86891',
500: '#942066',
950: '#000000',
},
}SCSS
$custom: #942066; $custom-light: #b86891; $custom-dark: #000000;
JSON
{
"hex": "#942066",
"rgb": {
"r": 148,
"g": 32,
"b": 102
},
"hsl": {
"h": 323.793,
"s": 64.444,
"l": 35.294
},
"oklch": {
"l": 0.45789,
"c": 0.16489,
"h": 348.8
},
"luminance": 0.08288
}Semantic roles & 50–950 ramp
primary
#942066
secondary
#52BE7D
accent
#E78340
background
#FBF6F8
surface
#F7EBF0
border
#D0C6CB
text
#12070C
muted
#817A7D