#912978#912978
#912978 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.9% C 0.164 H 339.1°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).
Color values
| HEX | #912978 |
|---|---|
| RGB | rgb(145, 41, 120) |
| HSL | hsl(314, 56%, 36%) |
| HSV | hsv(314, 72%, 57%) |
| CMYK | cmyk(0%, 71.7%, 17.2%, 43.1%) |
| CIE-LAB | lab(35.91, 51.51, -21.59) |
| CIE-LCH | lch(35.91, 55.85, 337.26°) |
| OKLab | oklab(46.91% 0.1529 -0.0584) |
| OKLCH | oklch(46.91% 0.164 339.1) |
| XYZ | xyz(15.8605, 8.9632, 18.6604) |
| Luminance | 0.0896 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.62
Red Violet
#9E0168
ΔE00 5.26
Bruise
#7E4071
ΔE00 6.03
Light Eggplant
#894585
ΔE00 6.10
Barney Purple
#A00498
ΔE00 6.63
Darkmagenta
#8B008B
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#912978 #299142
analogous
#762991 #912978 #912944
triadic
#912978 #789129 #297891
tetradic
#912978 #917629 #299142 #294491
square
#912978 #917629 #299142 #294491
split-complementary
#912978 #449129 #299176
monochromatic
#320E29 #611C51 #912978 #C1369F #D362B7
Accessibility & contrast
On white
7.52
#912978 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#912978 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #912978
7.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##912978 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##912978 | 1.00 | 7.52 | 2.79 | 7.52 |
| #FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F4A7A
Deuteranopia (green-blind)
#505A76
Tritanopia (blue-blind)
#992D4D
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #912978; /* rgb */ color: rgb(145, 41, 120); /* oklch */ color: oklch(46.9% 0.164 339.1);
Tailwind
colors: {
custom: {
50: '#b56c9f',
500: '#912978',
950: '#000000',
},
}SCSS
$custom: #912978; $custom-light: #b56c9f; $custom-dark: #000000;
JSON
{
"hex": "#912978",
"rgb": {
"r": 145,
"g": 41,
"b": 120
},
"hsl": {
"h": 314.423,
"s": 55.914,
"l": 36.471
},
"oklch": {
"l": 0.46912,
"c": 0.16362,
"h": 339.1
},
"luminance": 0.08962
}Semantic roles & 50–950 ramp
primary
#912978
secondary
#5DB873
accent
#DF6D49
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E