#942457#942457
#942457 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.5% C 0.153 H 357.6°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).
Color values
| HEX | #942457 |
|---|---|
| RGB | rgb(148, 36, 87) |
| HSL | hsl(333, 61%, 36%) |
| HSV | hsv(333, 76%, 58%) |
| CMYK | cmyk(0%, 75.7%, 41.2%, 42%) |
| CIE-LAB | lab(34.49, 49.92, -2.69) |
| CIE-LCH | lch(34.49, 49.99, 356.91°) |
| OKLab | oklab(45.55% 0.1533 -0.0064) |
| OKLCH | oklch(45.55% 0.153 357.6) |
| XYZ | xyz(14.5650, 8.2476, 9.8399) |
| Luminance | 0.0825 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Fuchsia
#9D0759
ΔE00 2.73
Mulberry
#920A4E
ΔE00 2.91
Reddish Purple
#910951
ΔE00 2.96
Dark Magenta
#960056
ΔE00 3.23
Deep Magenta
#A0025C
ΔE00 3.26
Berry
#990F4B
ΔE00 3.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942457 #249461
analogous
#94248F #942457 #942924
triadic
#942457 #579424 #245794
tetradic
#942457 #8F9424 #249461 #292494
square
#942457 #8F9424 #249461 #292494
split-complementary
#942457 #249429 #248F94
monochromatic
#320C1D #63183A #942457 #C53074 #D75B94
Accessibility & contrast
On white
7.93
#942457 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#942457 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942457
7.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942457 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942457 | 1.00 | 7.93 | 2.65 | 7.93 |
| #FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B4458
Deuteranopia (green-blind)
#5A5954
Tritanopia (blue-blind)
#A0153A
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #942457; /* rgb */ color: rgb(148, 36, 87); /* oklch */ color: oklch(45.5% 0.153 357.6);
Tailwind
colors: {
custom: {
50: '#b86986',
500: '#942457',
950: '#000000',
},
}SCSS
$custom: #942457; $custom-light: #b86986; $custom-dark: #000000;
JSON
{
"hex": "#942457",
"rgb": {
"r": 148,
"g": 36,
"b": 87
},
"hsl": {
"h": 332.679,
"s": 60.87,
"l": 36.078
},
"oklch": {
"l": 0.45545,
"c": 0.15343,
"h": 357.6
},
"luminance": 0.08246
}Semantic roles & 50–950 ramp
primary
#942457
secondary
#58BC8E
accent
#E49B44
background
#FBF6F8
surface
#F7EBEF
border
#D0C6CA
text
#12070B
muted
#817A7C