#942458#942458
#942458 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.6% C 0.154 H 357.0°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #942458 |
|---|---|
| RGB | rgb(148, 36, 88) |
| HSL | hsl(332, 61%, 36%) |
| HSV | hsv(332, 76%, 58%) |
| CMYK | cmyk(0%, 75.7%, 40.5%, 42%) |
| CIE-LAB | lab(34.53, 50.03, -3.29) |
| CIE-LCH | lch(34.53, 50.13, 356.24°) |
| OKLab | oklab(45.58% 0.1536 -0.008) |
| OKLCH | oklch(45.58% 0.154 357) |
| XYZ | xyz(14.6061, 8.2641, 10.0566) |
| Luminance | 0.0826 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Fuchsia
#9D0759
ΔE00 2.65
Reddish Purple
#910951
ΔE00 2.95
Mulberry
#920A4E
ΔE00 3.01
Dark Magenta
#960056
ΔE00 3.13
Deep Magenta
#A0025C
ΔE00 3.14
Violet Red
#A50055
ΔE00 3.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942458 #249460
analogous
#942490 #942458 #942824
triadic
#942458 #589424 #245894
tetradic
#942458 #909424 #249460 #282494
square
#942458 #909424 #249460 #282494
split-complementary
#942458 #249428 #249094
monochromatic
#320C1D #63183B #942458 #C53075 #D75B95
Accessibility & contrast
On white
7.92
#942458 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#942458 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942458
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942458 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942458 | 1.00 | 7.92 | 2.65 | 7.92 |
| #FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B4459
Deuteranopia (green-blind)
#5A5955
Tritanopia (blue-blind)
#A0153B
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #942458; /* rgb */ color: rgb(148, 36, 88); /* oklch */ color: oklch(45.6% 0.154 357.0);
Tailwind
colors: {
custom: {
50: '#b86987',
500: '#942458',
950: '#000000',
},
}SCSS
$custom: #942458; $custom-light: #b86987; $custom-dark: #000000;
JSON
{
"hex": "#942458",
"rgb": {
"r": 148,
"g": 36,
"b": 88
},
"hsl": {
"h": 332.143,
"s": 60.87,
"l": 36.078
},
"oklch": {
"l": 0.4558,
"c": 0.15382,
"h": 357
},
"luminance": 0.08262
}Semantic roles & 50–950 ramp
primary
#942458
secondary
#58BC8D
accent
#E49A44
background
#FBF6F8
surface
#F7EBEF
border
#D0C6CA
text
#12070B
muted
#817A7C