#942873#942873
#942873 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.1% C 0.164 H 342.7°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).
Color values
| HEX | #942873 |
|---|---|
| RGB | rgb(148, 40, 115) |
| HSL | hsl(318, 57%, 37%) |
| HSV | hsv(318, 73%, 58%) |
| CMYK | cmyk(0%, 73%, 22.3%, 42%) |
| CIE-LAB | lab(36.09, 51.95, -18.14) |
| CIE-LCH | lch(36.09, 55.03, 340.75°) |
| OKLab | oklab(47.06% 0.1562 -0.0486) |
| OKLCH | oklch(47.06% 0.164 342.7) |
| XYZ | xyz(16.0666, 9.0529, 17.1176) |
| Luminance | 0.0905 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.04
Warm Purple
#952E8F
ΔE00 5.95
Bruise
#7E4071
ΔE00 6.26
Deep Magenta
#A0025C
ΔE00 6.60
Light Eggplant
#894585
ΔE00 6.90
Dark Fuchsia
#9D0759
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942873 #289449
analogous
#7F2894 #942873 #94283D
triadic
#942873 #739428 #287394
tetradic
#942873 #947F28 #289449 #283D94
square
#942873 #947F28 #289449 #283D94
split-complementary
#942873 #3D9428 #28947F
monochromatic
#340E28 #641B4E #942873 #C43598 #D562B1
Accessibility & contrast
On white
7.47
#942873 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#942873 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942873
7.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942873 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942873 | 1.00 | 7.47 | 2.81 | 7.47 |
| #FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#324A75
Deuteranopia (green-blind)
#545B70
Tritanopia (blue-blind)
#9D294A
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #942873; /* rgb */ color: rgb(148, 40, 115); /* oklch */ color: oklch(47.1% 0.164 342.7);
Tailwind
colors: {
custom: {
50: '#b76c9b',
500: '#942873',
950: '#000000',
},
}SCSS
$custom: #942873; $custom-light: #b76c9b; $custom-dark: #000000;
JSON
{
"hex": "#942873",
"rgb": {
"r": 148,
"g": 40,
"b": 115
},
"hsl": {
"h": 318.333,
"s": 57.447,
"l": 36.863
},
"oklch": {
"l": 0.47064,
"c": 0.16353,
"h": 342.7
},
"luminance": 0.09051
}Semantic roles & 50–950 ramp
primary
#942873
secondary
#5EBA7A
accent
#E17647
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E