#982876#982876
#982876 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.9% C 0.168 H 342.7°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).
Color values
| HEX | #982876 |
|---|---|
| RGB | rgb(152, 40, 118) |
| HSL | hsl(318, 58%, 38%) |
| HSV | hsv(318, 74%, 60%) |
| CMYK | cmyk(0%, 73.7%, 22.4%, 40.4%) |
| CIE-LAB | lab(36.93, 53.43, -18.65) |
| CIE-LCH | lch(36.93, 56.59, 340.75°) |
| OKLab | oklab(47.86% 0.1606 -0.05) |
| OKLCH | oklch(47.86% 0.168 342.7) |
| XYZ | xyz(16.9783, 9.5027, 18.0761) |
| Luminance | 0.0950 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.12
Warm Purple
#952E8F
ΔE00 5.63
Bruise
#7E4071
ΔE00 6.66
Deep Magenta
#A0025C
ΔE00 6.71
Light Eggplant
#894585
ΔE00 6.82
Dark Fuchsia
#9D0759
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982876 #28984A
analogous
#822898 #982876 #98283E
triadic
#982876 #769828 #287698
tetradic
#982876 #988228 #28984A #283E98
square
#982876 #988228 #28984A #283E98
split-complementary
#982876 #3E9828 #289882
monochromatic
#370F2B #681B50 #982876 #C8359C #D664B4
Accessibility & contrast
On white
7.24
#982876 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#982876 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982876
7.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982876 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982876 | 1.00 | 7.24 | 2.90 | 7.24 |
| #FFFFFF | 7.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#334B78
Deuteranopia (green-blind)
#565E73
Tritanopia (blue-blind)
#A2294B
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #982876; /* rgb */ color: rgb(152, 40, 118); /* oklch */ color: oklch(47.9% 0.168 342.7);
Tailwind
colors: {
custom: {
50: '#ba6d9d',
500: '#982876',
950: '#000000',
},
}SCSS
$custom: #982876; $custom-light: #ba6d9d; $custom-dark: #000000;
JSON
{
"hex": "#982876",
"rgb": {
"r": 152,
"g": 40,
"b": 118
},
"hsl": {
"h": 318.214,
"s": 58.333,
"l": 37.647
},
"oklch": {
"l": 0.4786,
"c": 0.16824,
"h": 342.7
},
"luminance": 0.09501
}Semantic roles & 50–950 ramp
primary
#982876
secondary
#60BC7C
accent
#E27546
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12080E
muted
#817B7E