#982279#982279
#982279 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.5% C 0.177 H 341.0°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).
Color values
| HEX | #982279 |
|---|---|
| RGB | rgb(152, 34, 121) |
| HSL | hsl(316, 63%, 36%) |
| HSV | hsv(316, 78%, 60%) |
| CMYK | cmyk(0%, 77.6%, 20.4%, 40.4%) |
| CIE-LAB | lab(36.37, 55.83, -21.41) |
| CIE-LCH | lch(36.37, 59.79, 339.02°) |
| OKLab | oklab(47.5% 0.1672 -0.0577) |
| OKLCH | oklch(47.5% 0.177 341) |
| XYZ | xyz(16.9727, 9.2017, 18.9677) |
| Luminance | 0.0920 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.38
Warm Purple
#952E8F
ΔE00 4.88
Barney Purple
#A00498
ΔE00 6.27
Light Eggplant
#894585
ΔE00 7.05
Darkmagenta
#8B008B
ΔE00 7.06
Bruise
#7E4071
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982279 #229841
analogous
#7C2298 #982279 #98223E
triadic
#982279 #799822 #227998
tetradic
#982279 #987C22 #229841 #223E98
square
#982279 #987C22 #229841 #223E98
split-complementary
#982279 #3E9822 #22987C
monochromatic
#340C29 #661751 #982279 #CA2DA1 #DA5AB9
Accessibility & contrast
On white
7.39
#982279 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#982279 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982279
7.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982279 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982279 | 1.00 | 7.39 | 2.84 | 7.39 |
| #FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C497B
Deuteranopia (green-blind)
#535C76
Tritanopia (blue-blind)
#A1254B
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #982279; /* rgb */ color: rgb(152, 34, 121); /* oklch */ color: oklch(47.5% 0.177 341.0);
Tailwind
colors: {
custom: {
50: '#ba6aa0',
500: '#982279',
950: '#000000',
},
}SCSS
$custom: #982279; $custom-light: #ba6aa0; $custom-dark: #000000;
JSON
{
"hex": "#982279",
"rgb": {
"r": 152,
"g": 34,
"b": 121
},
"hsl": {
"h": 315.763,
"s": 63.441,
"l": 36.471
},
"oklch": {
"l": 0.47495,
"c": 0.1769,
"h": 341
},
"luminance": 0.092
}Semantic roles & 50–950 ramp
primary
#982279
secondary
#57BE72
accent
#E66D41
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E