#942E5A#942E5A
#942E5A is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.7% C 0.142 H 357.6°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).
Color values
| HEX | #942E5A |
|---|---|
| RGB | rgb(148, 46, 90) |
| HSL | hsl(334, 53%, 38%) |
| HSV | hsv(334, 69%, 58%) |
| CMYK | cmyk(0%, 68.9%, 39.2%, 42%) |
| CIE-LAB | lab(35.96, 46.43, -2.45) |
| CIE-LCH | lch(35.96, 46.50, 356.98°) |
| OKLab | oklab(46.66% 0.1422 -0.0058) |
| OKLCH | oklch(46.66% 0.142 357.6) |
| XYZ | xyz(15.0362, 8.9898, 10.6143) |
| Luminance | 0.0899 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Fuchsia
#9D0759
ΔE00 4.10
Deep Magenta
#A0025C
ΔE00 4.47
Mulberry
#920A4E
ΔE00 4.49
Reddish Purple
#910951
ΔE00 4.58
Berry
#990F4B
ΔE00 4.60
Violet Red
#A50055
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942E5A #2E9468
analogous
#942E8D #942E5A #94352E
triadic
#942E5A #5A942E #2E5A94
tetradic
#942E5A #8D942E #2E9468 #352E94
square
#942E5A #8D942E #2E9468 #352E94
split-complementary
#942E5A #2E9435 #2E8D94
monochromatic
#371121 #651F3E #942E5A #C33D76 #D16B97
Accessibility & contrast
On white
7.51
#942E5A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#942E5A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942E5A
7.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942E5A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942E5A | 1.00 | 7.51 | 2.80 | 7.51 |
| #FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#41485B
Deuteranopia (green-blind)
#5D5C58
Tritanopia (blue-blind)
#A02440
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #942e5a; /* rgb */ color: rgb(148, 46, 90); /* oklch */ color: oklch(46.7% 0.142 357.6);
Tailwind
colors: {
custom: {
50: '#b86e88',
500: '#942e5a',
950: '#000000',
},
}SCSS
$custom: #942e5a; $custom-light: #b86e88; $custom-dark: #000000;
JSON
{
"hex": "#942e5a",
"rgb": {
"r": 148,
"g": 46,
"b": 90
},
"hsl": {
"h": 334.118,
"s": 52.577,
"l": 38.039
},
"oklch": {
"l": 0.46661,
"c": 0.14229,
"h": 357.6
},
"luminance": 0.08988
}Semantic roles & 50–950 ramp
primary
#942E5A
secondary
#66B895
accent
#DC9E4C
background
#FBF6F8
surface
#F7ECEF
border
#D0C7CA
text
#12080B
muted
#817B7C