#982879#982879
#982879 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.0% C 0.170 H 341.3°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #982879 |
|---|---|
| RGB | rgb(152, 40, 121) |
| HSL | hsl(317, 58%, 38%) |
| HSV | hsv(317, 74%, 60%) |
| CMYK | cmyk(0%, 73.7%, 20.4%, 40.4%) |
| CIE-LAB | lab(37.07, 53.85, -20.32) |
| CIE-LCH | lch(37.07, 57.55, 339.32°) |
| OKLab | oklab(48% 0.1612 -0.0547) |
| OKLCH | oklch(48% 0.17 341.3) |
| XYZ | xyz(17.1594, 9.5752, 19.0300) |
| Luminance | 0.0957 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.61
Warm Purple
#952E8F
ΔE00 4.94
Light Eggplant
#894585
ΔE00 6.50
Bruise
#7E4071
ΔE00 6.71
Barney Purple
#A00498
ΔE00 6.72
Deep Magenta
#A0025C
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982879 #289847
analogous
#7F2898 #982879 #982841
triadic
#982879 #799828 #287998
tetradic
#982879 #987F28 #289847 #284198
square
#982879 #987F28 #289847 #284198
split-complementary
#982879 #419828 #28987F
monochromatic
#370F2C #681B52 #982879 #C835A0 #D664B7
Accessibility & contrast
On white
7.21
#982879 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#982879 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982879
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982879 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982879 | 1.00 | 7.21 | 2.91 | 7.21 |
| #FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#314C7B
Deuteranopia (green-blind)
#555E76
Tritanopia (blue-blind)
#A12A4D
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #982879; /* rgb */ color: rgb(152, 40, 121); /* oklch */ color: oklch(48.0% 0.170 341.3);
Tailwind
colors: {
custom: {
50: '#ba6da0',
500: '#982879',
950: '#000000',
},
}SCSS
$custom: #982879; $custom-light: #ba6da0; $custom-dark: #000000;
JSON
{
"hex": "#982879",
"rgb": {
"r": 152,
"g": 40,
"b": 121
},
"hsl": {
"h": 316.607,
"s": 58.333,
"l": 37.647
},
"oklch": {
"l": 0.48001,
"c": 0.1702,
"h": 341.3
},
"luminance": 0.09573
}Semantic roles & 50–950 ramp
primary
#982879
secondary
#60BC79
accent
#E27146
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12080E
muted
#817B7E