#982579#982579
#982579 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.7% C 0.174 H 341.1°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #982579 |
|---|---|
| RGB | rgb(152, 37, 121) |
| HSL | hsl(316, 61%, 37%) |
| HSV | hsv(316, 76%, 60%) |
| CMYK | cmyk(0%, 75.7%, 20.4%, 40.4%) |
| CIE-LAB | lab(36.71, 54.87, -20.88) |
| CIE-LCH | lch(36.71, 58.71, 339.16°) |
| OKLab | oklab(47.74% 0.1643 -0.0562) |
| OKLCH | oklch(47.74% 0.174 341.1) |
| XYZ | xyz(17.0622, 9.3807, 18.9975) |
| Luminance | 0.0938 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.47
Warm Purple
#952E8F
ΔE00 4.89
Barney Purple
#A00498
ΔE00 6.48
Light Eggplant
#894585
ΔE00 6.78
Bruise
#7E4071
ΔE00 6.97
Deep Magenta
#A0025C
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982579 #259844
analogous
#7E2598 #982579 #98253F
triadic
#982579 #799825 #257998
tetradic
#982579 #987E25 #259844 #253F98
square
#982579 #987E25 #259844 #253F98
split-complementary
#982579 #3F9825 #25987E
monochromatic
#360D2B #671952 #982579 #C931A0 #D85FB8
Accessibility & contrast
On white
7.30
#982579 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#982579 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982579
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982579 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982579 | 1.00 | 7.30 | 2.88 | 7.30 |
| #FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F4B7B
Deuteranopia (green-blind)
#545D76
Tritanopia (blue-blind)
#A1284C
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #982579; /* rgb */ color: rgb(152, 37, 121); /* oklch */ color: oklch(47.7% 0.174 341.1);
Tailwind
colors: {
custom: {
50: '#ba6ca0',
500: '#982579',
950: '#000000',
},
}SCSS
$custom: #982579; $custom-light: #ba6ca0; $custom-dark: #000000;
JSON
{
"hex": "#982579",
"rgb": {
"r": 152,
"g": 37,
"b": 121
},
"hsl": {
"h": 316.174,
"s": 60.847,
"l": 37.059
},
"oklch": {
"l": 0.47739,
"c": 0.17366,
"h": 341.1
},
"luminance": 0.09379
}Semantic roles & 50–950 ramp
primary
#982579
secondary
#5CBD76
accent
#E46F44
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E