#942158#942158
#942158 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.3% C 0.157 H 356.6°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #942158 |
|---|---|
| RGB | rgb(148, 33, 88) |
| HSL | hsl(331, 64%, 35%) |
| HSV | hsv(331, 78%, 58%) |
| CMYK | cmyk(0%, 77.7%, 40.5%, 42%) |
| CIE-LAB | lab(34.17, 51.03, -3.82) |
| CIE-LCH | lch(34.17, 51.18, 355.72°) |
| OKLab | oklab(45.32% 0.1568 -0.0094) |
| OKLCH | oklch(45.32% 0.157 356.6) |
| XYZ | xyz(14.5191, 8.0900, 10.0276) |
| Luminance | 0.0809 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Fuchsia
#9D0759
ΔE00 2.30
Reddish Purple
#910951
ΔE00 2.56
Dark Magenta
#960056
ΔE00 2.66
Mulberry
#920A4E
ΔE00 2.74
Deep Magenta
#A0025C
ΔE00 2.81
Violet Red
#A50055
ΔE00 3.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942158 #21945D
analogous
#942191 #942158 #942321
triadic
#942158 #589421 #215894
tetradic
#942158 #919421 #21945D #232194
square
#942158 #919421 #21945D #232194
split-complementary
#942158 #219423 #219194
monochromatic
#300B1C #62163A #942158 #C62C76 #D95695
Accessibility & contrast
On white
8.02
#942158 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#942158 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942158
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942158 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942158 | 1.00 | 8.02 | 2.62 | 8.02 |
| #FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#394359
Deuteranopia (green-blind)
#595855
Tritanopia (blue-blind)
#A01039
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #942158; /* rgb */ color: rgb(148, 33, 88); /* oklch */ color: oklch(45.3% 0.157 356.6);
Tailwind
colors: {
custom: {
50: '#b86887',
500: '#942158',
950: '#000000',
},
}SCSS
$custom: #942158; $custom-light: #b86887; $custom-dark: #000000;
JSON
{
"hex": "#942158",
"rgb": {
"r": 148,
"g": 33,
"b": 88
},
"hsl": {
"h": 331.304,
"s": 63.536,
"l": 35.49
},
"oklch": {
"l": 0.45319,
"c": 0.1571,
"h": 356.6
},
"luminance": 0.08088
}Semantic roles & 50–950 ramp
primary
#942158
secondary
#54BD8B
accent
#E79741
background
#FBF6F8
surface
#F7EBEF
border
#D0C6CA
text
#12070B
muted
#817A7C