#942052#942052
#942052 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.0% C 0.156 H 359.8°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).
Color values
| HEX | #942052 |
|---|---|
| RGB | rgb(148, 32, 82) |
| HSL | hsl(334, 64%, 35%) |
| HSV | hsv(334, 78%, 58%) |
| CMYK | cmyk(0%, 78.4%, 44.6%, 42%) |
| CIE-LAB | lab(33.86, 50.74, -0.39) |
| CIE-LCH | lch(33.86, 50.74, 359.56°) |
| OKLab | oklab(45.03% 0.1559 -0.0004) |
| OKLCH | oklch(45.03% 0.156 359.8) |
| XYZ | xyz(14.2534, 7.9400, 8.7630) |
| Luminance | 0.0794 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 2.27
Berry
#990F4B
ΔE00 2.36
Reddish Purple
#910951
ΔE00 2.77
Dark Fuchsia
#9D0759
ΔE00 2.99
Violet Red
#A50055
ΔE00 3.26
Purple Red
#990147
ΔE00 3.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942052 #209462
analogous
#94208C #942052 #942820
triadic
#942052 #529420 #205294
tetradic
#942052 #8C9420 #209462 #282094
square
#942052 #8C9420 #209462 #282094
split-complementary
#942052 #209428 #208C94
monochromatic
#2F0A1A #621536 #942052 #C62B6E #DA548E
Accessibility & contrast
On white
8.12
#942052 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#942052 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942052
8.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942052 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942052 | 1.00 | 8.12 | 2.59 | 8.12 |
| #FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A4153
Deuteranopia (green-blind)
#5A584F
Tritanopia (blue-blind)
#A10936
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #942052; /* rgb */ color: rgb(148, 32, 82); /* oklch */ color: oklch(45.0% 0.156 359.8);
Tailwind
colors: {
custom: {
50: '#b86882',
500: '#942052',
950: '#000000',
},
}SCSS
$custom: #942052; $custom-light: #b86882; $custom-dark: #000000;
JSON
{
"hex": "#942052",
"rgb": {
"r": 148,
"g": 32,
"b": 82
},
"hsl": {
"h": 334.138,
"s": 64.444,
"l": 35.294
},
"oklch": {
"l": 0.45025,
"c": 0.15586,
"h": 359.8
},
"luminance": 0.07938
}Semantic roles & 50–950 ramp
primary
#942052
secondary
#52BE8F
accent
#E79F40
background
#FBF6F7
surface
#F7EBEE
border
#D0C6C9
text
#12070A
muted
#817A7C