#974871#974871
#974871 is a mid, moderate pink. Relative luminance 0.124; OKLCH L 51.4% C 0.117 H 349.6°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #974871 |
|---|---|
| RGB | rgb(151, 72, 113) |
| HSL | hsl(329, 35%, 44%) |
| HSV | hsv(329, 52%, 59%) |
| CMYK | cmyk(0%, 52.3%, 25.2%, 40.8%) |
| CIE-LAB | lab(41.86, 38.07, -8.07) |
| CIE-LCH | lch(41.86, 38.92, 348.03°) |
| OKLab | oklab(51.4% 0.1146 -0.021) |
| OKLCH | oklch(51.4% 0.117 349.6) |
| XYZ | xyz(18.0611, 12.4078, 17.0633) |
| Luminance | 0.1241 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 5.06
Dark Mauve
#874C62
ΔE00 5.46
Dusky Purple
#895B7B
ΔE00 6.85
Bruise
#7E4071
ΔE00 6.89
Purpleish
#98568D
ΔE00 7.08
Purplish
#94568C
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#974871 #48976E
analogous
#954897 #974871 #974849
triadic
#974871 #719748 #487197
tetradic
#974871 #979548 #48976E #484997
square
#974871 #979548 #48976E #484997
split-complementary
#974871 #499748 #489795
monochromatic
#442033 #6E3452 #974871 #B66690 #CA90AE
Accessibility & contrast
On white
6.03
#974871 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#974871 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #974871
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##974871 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##974871 | 1.00 | 6.03 | 3.48 | 6.03 |
| #FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#515A72
Deuteranopia (green-blind)
#66686F
Tritanopia (blue-blind)
#A14658
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #974871; /* rgb */ color: rgb(151, 72, 113); /* oklch */ color: oklch(51.4% 0.117 349.6);
Tailwind
colors: {
custom: {
50: '#b87e99',
500: '#974871',
950: '#000000',
},
}SCSS
$custom: #974871; $custom-light: #b87e99; $custom-dark: #000000;
JSON
{
"hex": "#974871",
"rgb": {
"r": 151,
"g": 72,
"b": 113
},
"hsl": {
"h": 328.861,
"s": 35.426,
"l": 43.725
},
"oklch": {
"l": 0.51397,
"c": 0.11653,
"h": 349.6
},
"luminance": 0.12406
}Semantic roles & 50–950 ramp
primary
#974871
secondary
#85B69C
accent
#CB925C
background
#FBF7F9
surface
#F6EEF2
border
#D0C9CC
text
#120A0E
muted
#817C7E