#982779#982779
#982779 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.9% C 0.171 H 341.2°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).
Color values
| HEX | #982779 |
|---|---|
| RGB | rgb(152, 39, 121) |
| HSL | hsl(316, 59%, 37%) |
| HSV | hsv(316, 74%, 60%) |
| CMYK | cmyk(0%, 74.3%, 20.4%, 40.4%) |
| CIE-LAB | lab(36.95, 54.19, -20.51) |
| CIE-LCH | lch(36.95, 57.95, 339.27°) |
| OKLab | oklab(47.91% 0.1622 -0.0552) |
| OKLCH | oklch(47.91% 0.171 341.2) |
| XYZ | xyz(17.1261, 9.5086, 19.0189) |
| Luminance | 0.0951 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.56
Warm Purple
#952E8F
ΔE00 4.92
Light Eggplant
#894585
ΔE00 6.59
Barney Purple
#A00498
ΔE00 6.64
Bruise
#7E4071
ΔE00 6.80
Deep Magenta
#A0025C
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982779 #279846
analogous
#7E2798 #982779 #982741
triadic
#982779 #799827 #277998
tetradic
#982779 #987E27 #279846 #274198
square
#982779 #987E27 #279846 #274198
split-complementary
#982779 #419827 #27987E
monochromatic
#370E2B #671B52 #982779 #C933A0 #D763B7
Accessibility & contrast
On white
7.24
#982779 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#982779 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982779
7.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982779 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982779 | 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)
#304B7B
Deuteranopia (green-blind)
#545D76
Tritanopia (blue-blind)
#A1294D
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #982779; /* rgb */ color: rgb(152, 39, 121); /* oklch */ color: oklch(47.9% 0.171 341.2);
Tailwind
colors: {
custom: {
50: '#ba6ca0',
500: '#982779',
950: '#000000',
},
}SCSS
$custom: #982779; $custom-light: #ba6ca0; $custom-dark: #000000;
JSON
{
"hex": "#982779",
"rgb": {
"r": 152,
"g": 39,
"b": 121
},
"hsl": {
"h": 316.46,
"s": 59.162,
"l": 37.451
},
"oklch": {
"l": 0.47912,
"c": 0.17137,
"h": 341.2
},
"luminance": 0.09507
}Semantic roles & 50–950 ramp
primary
#982779
secondary
#5EBC78
accent
#E27045
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12080E
muted
#817B7E