#942874#942874
#942874 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.1% C 0.164 H 342.2°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).
Color values
| HEX | #942874 |
|---|---|
| RGB | rgb(148, 40, 116) |
| HSL | hsl(318, 57%, 37%) |
| HSV | hsv(318, 73%, 58%) |
| CMYK | cmyk(0%, 73%, 21.6%, 42%) |
| CIE-LAB | lab(36.13, 52.09, -18.70) |
| CIE-LCH | lch(36.13, 55.35, 340.25°) |
| OKLab | oklab(47.11% 0.1563 -0.0501) |
| OKLCH | oklch(47.11% 0.164 342.2) |
| XYZ | xyz(16.1244, 9.0761, 17.4223) |
| Luminance | 0.0907 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.19
Warm Purple
#952E8F
ΔE00 5.72
Bruise
#7E4071
ΔE00 6.26
Light Eggplant
#894585
ΔE00 6.77
Deep Magenta
#A0025C
ΔE00 6.80
Dark Fuchsia
#9D0759
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942874 #289448
analogous
#7E2894 #942874 #94283E
triadic
#942874 #749428 #287494
tetradic
#942874 #947E28 #289448 #283E94
square
#942874 #947E28 #289448 #283E94
split-complementary
#942874 #3E9428 #28947E
monochromatic
#340E28 #641B4E #942874 #C4359A #D562B3
Accessibility & contrast
On white
7.46
#942874 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#942874 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942874
7.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942874 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942874 | 1.00 | 7.46 | 2.81 | 7.46 |
| #FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#324A76
Deuteranopia (green-blind)
#535B71
Tritanopia (blue-blind)
#9D294A
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #942874; /* rgb */ color: rgb(148, 40, 116); /* oklch */ color: oklch(47.1% 0.164 342.2);
Tailwind
colors: {
custom: {
50: '#b76c9c',
500: '#942874',
950: '#000000',
},
}SCSS
$custom: #942874; $custom-light: #b76c9c; $custom-dark: #000000;
JSON
{
"hex": "#942874",
"rgb": {
"r": 148,
"g": 40,
"b": 116
},
"hsl": {
"h": 317.778,
"s": 57.447,
"l": 36.863
},
"oklch": {
"l": 0.47111,
"c": 0.16418,
"h": 342.2
},
"luminance": 0.09074
}Semantic roles & 50–950 ramp
primary
#942874
secondary
#5EBA79
accent
#E17547
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E