#942046#942046
#942046 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.7% C 0.153 H 6.8°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).
Color values
| HEX | #942046 |
|---|---|
| RGB | rgb(148, 32, 70) |
| HSL | hsl(340, 64%, 35%) |
| HSV | hsv(340, 78%, 58%) |
| CMYK | cmyk(0%, 78.4%, 52.7%, 42%) |
| CIE-LAB | lab(33.51, 49.64, 6.93) |
| CIE-LCH | lch(33.51, 50.12, 7.95°) |
| OKLab | oklab(44.65% 0.1515 0.018) |
| OKLCH | oklch(44.65% 0.153 6.8) |
| XYZ | xyz(13.8360, 7.7731, 6.5649) |
| Luminance | 0.0777 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.70
Purple Red
#990147
ΔE00 2.79
Cranberry
#9E003A
ΔE00 4.13
Red Wine
#8C0034
ΔE00 4.53
Mulberry
#920A4E
ΔE00 4.73
Purplish Red
#B0054B
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942046 #20946E
analogous
#942080 #942046 #943420
triadic
#942046 #469420 #204694
tetradic
#942046 #809420 #20946E #342094
square
#942046 #809420 #20946E #342094
split-complementary
#942046 #209434 #208094
monochromatic
#2F0A16 #62152E #942046 #C62B5E #DA5480
Accessibility & contrast
On white
8.22
#942046 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#942046 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942046
8.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942046 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942046 | 1.00 | 8.22 | 2.55 | 8.22 |
| #FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E4047
Deuteranopia (green-blind)
#5C5743
Tritanopia (blue-blind)
#A20030
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #942046; /* rgb */ color: rgb(148, 32, 70); /* oklch */ color: oklch(44.7% 0.153 6.8);
Tailwind
colors: {
custom: {
50: '#b96779',
500: '#942046',
950: '#000000',
},
}SCSS
$custom: #942046; $custom-light: #b96779; $custom-dark: #000000;
JSON
{
"hex": "#942046",
"rgb": {
"r": 148,
"g": 32,
"b": 70
},
"hsl": {
"h": 340.345,
"s": 64.444,
"l": 35.294
},
"oklch": {
"l": 0.44651,
"c": 0.15251,
"h": 6.8
},
"luminance": 0.07771
}Semantic roles & 50–950 ramp
primary
#942046
secondary
#52BE9A
accent
#E7B140
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B