#942058#942058
#942058 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.2% C 0.158 H 356.4°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).
Color values
| HEX | #942058 |
|---|---|
| RGB | rgb(148, 32, 88) |
| HSL | hsl(331, 64%, 35%) |
| HSV | hsv(331, 78%, 58%) |
| CMYK | cmyk(0%, 78.4%, 40.5%, 42%) |
| CIE-LAB | lab(34.06, 51.35, -3.99) |
| CIE-LCH | lch(34.06, 51.51, 355.56°) |
| OKLab | oklab(45.24% 0.1579 -0.0098) |
| OKLCH | oklch(45.24% 0.158 356.4) |
| XYZ | xyz(14.4917, 8.0353, 10.0185) |
| Luminance | 0.0803 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Fuchsia
#9D0759
ΔE00 2.20
Reddish Purple
#910951
ΔE00 2.44
Dark Magenta
#960056
ΔE00 2.52
Mulberry
#920A4E
ΔE00 2.66
Deep Magenta
#A0025C
ΔE00 2.71
Violet Red
#A50055
ΔE00 3.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942058 #20945C
analogous
#942092 #942058 #942220
triadic
#942058 #589420 #205894
tetradic
#942058 #929420 #20945C #222094
square
#942058 #929420 #20945C #222094
split-complementary
#942058 #209422 #209294
monochromatic
#2F0A1C #62153A #942058 #C62B76 #DA5495
Accessibility & contrast
On white
8.06
#942058 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#942058 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942058
8.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942058 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942058 | 1.00 | 8.06 | 2.61 | 8.06 |
| #FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#394259
Deuteranopia (green-blind)
#595855
Tritanopia (blue-blind)
#A00F39
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #942058; /* rgb */ color: rgb(148, 32, 88); /* oklch */ color: oklch(45.2% 0.158 356.4);
Tailwind
colors: {
custom: {
50: '#b86887',
500: '#942058',
950: '#000000',
},
}SCSS
$custom: #942058; $custom-light: #b86887; $custom-dark: #000000;
JSON
{
"hex": "#942058",
"rgb": {
"r": 148,
"g": 32,
"b": 88
},
"hsl": {
"h": 331.034,
"s": 64.444,
"l": 35.294
},
"oklch": {
"l": 0.45236,
"c": 0.15816,
"h": 356.4
},
"luminance": 0.08034
}Semantic roles & 50–950 ramp
primary
#942058
secondary
#52BE8A
accent
#E79740
background
#FBF6F8
surface
#F7EBEF
border
#D0C6CA
text
#12070B
muted
#817A7C