#942062#942062
#942062 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.6% C 0.163 H 350.9°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).
Color values
| HEX | #942062 |
|---|---|
| RGB | rgb(148, 32, 98) |
| HSL | hsl(326, 64%, 35%) |
| HSV | hsv(326, 78%, 58%) |
| CMYK | cmyk(0%, 78.4%, 33.8%, 42%) |
| CIE-LAB | lab(34.42, 52.47, -9.88) |
| CIE-LCH | lch(34.42, 53.40, 349.33°) |
| OKLab | oklab(45.62% 0.1607 -0.0257) |
| OKLCH | oklch(45.62% 0.163 350.9) |
| XYZ | xyz(14.9347, 8.2125, 12.3516) |
| Luminance | 0.0821 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.73
Deep Magenta
#A0025C
ΔE00 3.22
Dark Magenta
#960056
ΔE00 3.29
Dark Fuchsia
#9D0759
ΔE00 3.30
Reddish Purple
#910951
ΔE00 4.00
Mulberry
#920A4E
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942062 #209452
analogous
#8C2094 #942062 #942028
triadic
#942062 #629420 #206294
tetradic
#942062 #948C20 #209452 #202894
square
#942062 #948C20 #209452 #202894
split-complementary
#942062 #289420 #20948C
monochromatic
#2F0A1F #621541 #942062 #C62B83 #DA54A0
Accessibility & contrast
On white
7.95
#942062 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#942062 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942062
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942062 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942062 | 1.00 | 7.95 | 2.64 | 7.95 |
| #FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#354464
Deuteranopia (green-blind)
#56585F
Tritanopia (blue-blind)
#9F163E
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #942062; /* rgb */ color: rgb(148, 32, 98); /* oklch */ color: oklch(45.6% 0.163 350.9);
Tailwind
colors: {
custom: {
50: '#b8688e',
500: '#942062',
950: '#000000',
},
}SCSS
$custom: #942062; $custom-light: #b8688e; $custom-dark: #000000;
JSON
{
"hex": "#942062",
"rgb": {
"r": 148,
"g": 32,
"b": 98
},
"hsl": {
"h": 325.862,
"s": 64.444,
"l": 35.294
},
"oklch": {
"l": 0.45622,
"c": 0.16278,
"h": 350.9
},
"luminance": 0.08211
}Semantic roles & 50–950 ramp
primary
#942062
secondary
#52BE80
accent
#E78840
background
#FBF6F8
surface
#F7EBF0
border
#D0C6CB
text
#12070C
muted
#817A7D