#982479#982479
#982479 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.7% C 0.175 H 341.1°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #982479 |
|---|---|
| RGB | rgb(152, 36, 121) |
| HSL | hsl(316, 62%, 37%) |
| HSV | hsv(316, 76%, 60%) |
| CMYK | cmyk(0%, 76.3%, 20.4%, 40.4%) |
| CIE-LAB | lab(36.59, 55.20, -21.06) |
| CIE-LCH | lch(36.59, 59.08, 339.11°) |
| OKLab | oklab(47.66% 0.1653 -0.0567) |
| OKLCH | oklch(47.66% 0.175 341.1) |
| XYZ | xyz(17.0315, 9.3194, 18.9873) |
| Luminance | 0.0932 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.44
Warm Purple
#952E8F
ΔE00 4.89
Barney Purple
#A00498
ΔE00 6.40
Light Eggplant
#894585
ΔE00 6.87
Bruise
#7E4071
ΔE00 7.06
Darkmagenta
#8B008B
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982479 #249843
analogous
#7D2498 #982479 #98243F
triadic
#982479 #799824 #247998
tetradic
#982479 #987D24 #249843 #243F98
square
#982479 #987D24 #249843 #243F98
split-complementary
#982479 #3F9824 #24987D
monochromatic
#350D2A #671852 #982479 #C930A0 #D95EB8
Accessibility & contrast
On white
7.33
#982479 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#982479 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982479
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982479 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982479 | 1.00 | 7.33 | 2.86 | 7.33 |
| #FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E4A7B
Deuteranopia (green-blind)
#535D76
Tritanopia (blue-blind)
#A1274C
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #982479; /* rgb */ color: rgb(152, 36, 121); /* oklch */ color: oklch(47.7% 0.175 341.1);
Tailwind
colors: {
custom: {
50: '#ba6ba0',
500: '#982479',
950: '#000000',
},
}SCSS
$custom: #982479; $custom-light: #ba6ba0; $custom-dark: #000000;
JSON
{
"hex": "#982479",
"rgb": {
"r": 152,
"g": 36,
"b": 121
},
"hsl": {
"h": 316.034,
"s": 61.702,
"l": 36.863
},
"oklch": {
"l": 0.47656,
"c": 0.17475,
"h": 341.1
},
"luminance": 0.09318
}Semantic roles & 50–950 ramp
primary
#982479
secondary
#5ABE75
accent
#E56E43
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E