#941978#941978
#941978 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 46.1% C 0.182 H 339.6°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #941978 |
|---|---|
| RGB | rgb(148, 25, 120) |
| HSL | hsl(314, 71%, 34%) |
| HSV | hsv(314, 83%, 58%) |
| CMYK | cmyk(0%, 83.1%, 18.9%, 42%) |
| CIE-LAB | lab(34.70, 57.26, -23.43) |
| CIE-LCH | lch(34.70, 61.87, 337.74°) |
| OKLab | oklab(46.14% 0.171 -0.0635) |
| OKLCH | oklch(46.14% 0.182 339.6) |
| XYZ | xyz(15.9510, 8.3489, 18.5371) |
| Luminance | 0.0835 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.67
Warm Purple
#952E8F
ΔE00 5.02
Darkmagenta
#8B008B
ΔE00 5.83
Barney Purple
#A00498
ΔE00 5.89
Purple
#800080
ΔE00 6.40
Darkish Purple
#751973
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#941978 #199435
analogous
#731994 #941978 #94193A
triadic
#941978 #789419 #197894
tetradic
#941978 #947319 #199435 #193A94
square
#941978 #947319 #199435 #193A94
split-complementary
#941978 #3A9419 #199473
monochromatic
#2B0723 #60104E #941978 #C822A2 #E047BD
Accessibility & contrast
On white
7.87
#941978 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#941978 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #941978
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##941978 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##941978 | 1.00 | 7.87 | 2.67 | 7.87 |
| #FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#23457A
Deuteranopia (green-blind)
#4D5875
Tritanopia (blue-blind)
#9D1F48
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #941978; /* rgb */ color: rgb(148, 25, 120); /* oklch */ color: oklch(46.1% 0.182 339.6);
Tailwind
colors: {
custom: {
50: '#b7679f',
500: '#941978',
950: '#000000',
},
}SCSS
$custom: #941978; $custom-light: #b7679f; $custom-dark: #000000;
JSON
{
"hex": "#941978",
"rgb": {
"r": 148,
"g": 25,
"b": 120
},
"hsl": {
"h": 313.659,
"s": 71.098,
"l": 33.922
},
"oklch": {
"l": 0.46138,
"c": 0.18238,
"h": 339.6
},
"luminance": 0.08347
}Semantic roles & 50–950 ramp
primary
#941978
secondary
#47C163
accent
#EE633A
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E