#942879#942879
#942879 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.4% C 0.168 H 339.7°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).
Color values
| HEX | #942879 |
|---|---|
| RGB | rgb(148, 40, 121) |
| HSL | hsl(315, 57%, 37%) |
| HSV | hsv(315, 73%, 58%) |
| CMYK | cmyk(0%, 73%, 18.2%, 42%) |
| CIE-LAB | lab(36.36, 52.81, -21.48) |
| CIE-LCH | lch(36.36, 57.01, 337.87°) |
| OKLab | oklab(47.35% 0.1572 -0.058) |
| OKLCH | oklch(47.35% 0.168 339.7) |
| XYZ | xyz(16.4231, 9.1955, 18.9954) |
| Luminance | 0.0919 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.57
Red Violet
#9E0168
ΔE00 5.01
Light Eggplant
#894585
ΔE00 6.26
Bruise
#7E4071
ΔE00 6.38
Barney Purple
#A00498
ΔE00 6.47
Darkmagenta
#8B008B
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942879 #289443
analogous
#792894 #942879 #942843
triadic
#942879 #799428 #287994
tetradic
#942879 #947928 #289443 #284394
square
#942879 #947928 #289443 #284394
split-complementary
#942879 #439428 #289479
monochromatic
#340E2A #641B52 #942879 #C435A0 #D562B8
Accessibility & contrast
On white
7.40
#942879 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#942879 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942879
7.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942879 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942879 | 1.00 | 7.40 | 2.84 | 7.40 |
| #FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F4B7B
Deuteranopia (green-blind)
#525C76
Tritanopia (blue-blind)
#9D2C4D
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #942879; /* rgb */ color: rgb(148, 40, 121); /* oklch */ color: oklch(47.4% 0.168 339.7);
Tailwind
colors: {
custom: {
50: '#b76ca0',
500: '#942879',
950: '#000000',
},
}SCSS
$custom: #942879; $custom-light: #b76ca0; $custom-dark: #000000;
JSON
{
"hex": "#942879",
"rgb": {
"r": 148,
"g": 40,
"b": 121
},
"hsl": {
"h": 315,
"s": 57.447,
"l": 36.863
},
"oklch": {
"l": 0.47351,
"c": 0.16754,
"h": 339.7
},
"luminance": 0.09194
}Semantic roles & 50–950 ramp
primary
#942879
secondary
#5EBA75
accent
#E16E47
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E