#982D79#982D79
#982D79 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.5% C 0.164 H 341.6°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).
Color values
| HEX | #982D79 |
|---|---|
| RGB | rgb(152, 45, 121) |
| HSL | hsl(317, 54%, 39%) |
| HSV | hsv(317, 70%, 60%) |
| CMYK | cmyk(0%, 70.4%, 20.4%, 40.4%) |
| CIE-LAB | lab(37.72, 52.00, -19.31) |
| CIE-LCH | lch(37.72, 55.47, 339.63°) |
| OKLab | oklab(48.48% 0.1556 -0.0519) |
| OKLCH | oklch(48.48% 0.164 341.6) |
| XYZ | xyz(17.3390, 9.9343, 19.0898) |
| Luminance | 0.0993 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.96
Warm Purple
#952E8F
ΔE00 5.14
Light Eggplant
#894585
ΔE00 6.04
Bruise
#7E4071
ΔE00 6.27
Barney Purple
#A00498
ΔE00 7.22
Deep Magenta
#A0025C
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982D79 #2D984C
analogous
#812D98 #982D79 #982D43
triadic
#982D79 #79982D #2D7998
tetradic
#982D79 #98812D #2D984C #2D4398
square
#982D79 #98812D #2D984C #2D4398
split-complementary
#982D79 #43982D #2D9881
monochromatic
#3A112E #691F53 #982D79 #C53D9E #D36CB5
Accessibility & contrast
On white
7.03
#982D79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#982D79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982D79
7.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982D79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982D79 | 1.00 | 7.03 | 2.99 | 7.03 |
| #FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#364E7B
Deuteranopia (green-blind)
#575F76
Tritanopia (blue-blind)
#A12F4F
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #982d79; /* rgb */ color: rgb(152, 45, 121); /* oklch */ color: oklch(48.5% 0.164 341.6);
Tailwind
colors: {
custom: {
50: '#ba6fa0',
500: '#982d79',
950: '#000000',
},
}SCSS
$custom: #982d79; $custom-light: #ba6fa0; $custom-dark: #000000;
JSON
{
"hex": "#982d79",
"rgb": {
"r": 152,
"g": 45,
"b": 121
},
"hsl": {
"h": 317.383,
"s": 54.315,
"l": 38.627
},
"oklch": {
"l": 0.48478,
"c": 0.16399,
"h": 341.6
},
"luminance": 0.09933
}Semantic roles & 50–950 ramp
primary
#982D79
secondary
#66BA7F
accent
#DE754A
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080E
muted
#817B7E