#982283#982283
#982283 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.0% C 0.184 H 336.5°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #982283 |
|---|---|
| RGB | rgb(152, 34, 131) |
| HSL | hsl(311, 63%, 36%) |
| HSV | hsv(311, 78%, 60%) |
| CMYK | cmyk(0%, 77.6%, 13.8%, 40.4%) |
| CIE-LAB | lab(36.85, 57.26, -26.88) |
| CIE-LCH | lch(36.85, 63.26, 334.86°) |
| OKLab | oklab(48% 0.1684 -0.0733) |
| OKLCH | oklch(48% 0.184 336.5) |
| XYZ | xyz(17.6180, 9.4598, 22.3664) |
| Luminance | 0.0946 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.90
Barney Purple
#A00498
ΔE00 4.26
Darkmagenta
#8B008B
ΔE00 5.48
Red Violet
#9E0168
ΔE00 6.33
Light Eggplant
#894585
ΔE00 6.59
Purple
#800080
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982283 #229837
analogous
#722298 #982283 #982248
triadic
#982283 #839822 #228398
tetradic
#982283 #987222 #229837 #224898
square
#982283 #987222 #229837 #224898
split-complementary
#982283 #489822 #229872
monochromatic
#340C2D #661758 #982283 #CA2DAE #DA5AC3
Accessibility & contrast
On white
7.26
#982283 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#982283 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982283
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982283 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982283 | 1.00 | 7.26 | 2.89 | 7.26 |
| #FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#254B86
Deuteranopia (green-blind)
#4F5D80
Tritanopia (blue-blind)
#A02B51
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #982283; /* rgb */ color: rgb(152, 34, 131); /* oklch */ color: oklch(48.0% 0.184 336.5);
Tailwind
colors: {
custom: {
50: '#ba6ba7',
500: '#982283',
950: '#000000',
},
}SCSS
$custom: #982283; $custom-light: #ba6ba7; $custom-dark: #000000;
JSON
{
"hex": "#982283",
"rgb": {
"r": 152,
"g": 34,
"b": 131
},
"hsl": {
"h": 310.678,
"s": 63.441,
"l": 36.471
},
"oklch": {
"l": 0.48003,
"c": 0.18365,
"h": 336.5
},
"luminance": 0.09458
}Semantic roles & 50–950 ramp
primary
#982283
secondary
#57BE6A
accent
#E65F41
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F