#982281#982281
#982281 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.9% C 0.182 H 337.4°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #982281 |
|---|---|
| RGB | rgb(152, 34, 129) |
| HSL | hsl(312, 63%, 36%) |
| HSV | hsv(312, 78%, 60%) |
| CMYK | cmyk(0%, 77.6%, 15.1%, 40.4%) |
| CIE-LAB | lab(36.75, 56.97, -25.79) |
| CIE-LCH | lch(36.75, 62.54, 335.64°) |
| OKLab | oklab(47.9% 0.1682 -0.0702) |
| OKLCH | oklch(47.9% 0.182 337.4) |
| XYZ | xyz(17.4837, 9.4061, 21.6594) |
| Luminance | 0.0940 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.27
Barney Purple
#A00498
ΔE00 4.64
Darkmagenta
#8B008B
ΔE00 5.76
Red Violet
#9E0168
ΔE00 5.94
Light Eggplant
#894585
ΔE00 6.63
Purple
#800080
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982281 #229839
analogous
#742298 #982281 #982246
triadic
#982281 #819822 #228198
tetradic
#982281 #987422 #229839 #224698
square
#982281 #987422 #229839 #224698
split-complementary
#982281 #469822 #229874
monochromatic
#340C2C #661757 #982281 #CA2DAB #DA5AC1
Accessibility & contrast
On white
7.29
#982281 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#982281 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982281
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982281 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982281 | 1.00 | 7.29 | 2.88 | 7.29 |
| #FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#264B84
Deuteranopia (green-blind)
#4F5D7E
Tritanopia (blue-blind)
#A02A50
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #982281; /* rgb */ color: rgb(152, 34, 129); /* oklch */ color: oklch(47.9% 0.182 337.4);
Tailwind
colors: {
custom: {
50: '#ba6ba6',
500: '#982281',
950: '#000000',
},
}SCSS
$custom: #982281; $custom-light: #ba6ba6; $custom-dark: #000000;
JSON
{
"hex": "#982281",
"rgb": {
"r": 152,
"g": 34,
"b": 129
},
"hsl": {
"h": 311.695,
"s": 63.441,
"l": 36.471
},
"oklch": {
"l": 0.47898,
"c": 0.18226,
"h": 337.4
},
"luminance": 0.09404
}Semantic roles & 50–950 ramp
primary
#982281
secondary
#57BE6B
accent
#E66241
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F