#942054#942054
#942054 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.1% C 0.157 H 358.7°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).
Color values
| HEX | #942054 |
|---|---|
| RGB | rgb(148, 32, 84) |
| HSL | hsl(333, 64%, 35%) |
| HSV | hsv(333, 78%, 58%) |
| CMYK | cmyk(0%, 78.4%, 43.2%, 42%) |
| CIE-LAB | lab(33.92, 50.94, -1.59) |
| CIE-LCH | lch(33.92, 50.96, 358.21°) |
| OKLab | oklab(45.09% 0.1565 -0.0036) |
| OKLCH | oklch(45.09% 0.157 358.7) |
| XYZ | xyz(14.3306, 7.9709, 9.1697) |
| Luminance | 0.0797 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 2.26
Reddish Purple
#910951
ΔE00 2.53
Dark Fuchsia
#9D0759
ΔE00 2.61
Berry
#990F4B
ΔE00 2.82
Dark Magenta
#960056
ΔE00 3.01
Deep Magenta
#A0025C
ΔE00 3.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942054 #209460
analogous
#94208E #942054 #942620
triadic
#942054 #549420 #205494
tetradic
#942054 #8E9420 #209460 #262094
square
#942054 #8E9420 #209460 #262094
split-complementary
#942054 #209426 #208E94
monochromatic
#2F0A1B #621537 #942054 #C62B71 #DA5490
Accessibility & contrast
On white
8.10
#942054 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#942054 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942054
8.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942054 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942054 | 1.00 | 8.10 | 2.59 | 8.10 |
| #FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A4255
Deuteranopia (green-blind)
#595851
Tritanopia (blue-blind)
#A10B37
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #942054; /* rgb */ color: rgb(148, 32, 84); /* oklch */ color: oklch(45.1% 0.157 358.7);
Tailwind
colors: {
custom: {
50: '#b86884',
500: '#942054',
950: '#000000',
},
}SCSS
$custom: #942054; $custom-light: #b86884; $custom-dark: #000000;
JSON
{
"hex": "#942054",
"rgb": {
"r": 148,
"g": 32,
"b": 84
},
"hsl": {
"h": 333.103,
"s": 64.444,
"l": 35.294
},
"oklch": {
"l": 0.45093,
"c": 0.15658,
"h": 358.7
},
"luminance": 0.07969
}Semantic roles & 50–950 ramp
primary
#942054
secondary
#52BE8D
accent
#E79D40
background
#FBF6F8
surface
#F7EBEF
border
#D0C6CA
text
#12070A
muted
#817A7C