#982852#982852
#982852 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.5% C 0.151 H 2.4°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).
Color values
| HEX | #982852 |
|---|---|
| RGB | rgb(152, 40, 82) |
| HSL | hsl(338, 58%, 38%) |
| HSV | hsv(338, 74%, 60%) |
| CMYK | cmyk(0%, 73.7%, 46.1%, 40.4%) |
| CIE-LAB | lab(35.60, 49.15, 2.25) |
| CIE-LCH | lch(35.60, 49.20, 2.62°) |
| OKLab | oklab(46.45% 0.1506 0.0063) |
| OKLCH | oklch(46.45% 0.151 2.4) |
| XYZ | xyz(15.2319, 8.8042, 8.8783) |
| Luminance | 0.0880 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.79
Violet Red
#A50055
ΔE00 3.68
Purple Red
#990147
ΔE00 3.73
Mulberry
#920A4E
ΔE00 4.10
Dark Fuchsia
#9D0759
ΔE00 4.43
Reddish Purple
#910951
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982852 #28986E
analogous
#98288A #982852 #983628
triadic
#982852 #529828 #285298
tetradic
#982852 #8A9828 #28986E #362898
square
#982852 #8A9828 #28986E #362898
split-complementary
#982852 #289836 #288A98
monochromatic
#370F1E #681B38 #982852 #C8356C #D6648F
Accessibility & contrast
On white
7.61
#982852 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#982852 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982852
7.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982852 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982852 | 1.00 | 7.61 | 2.76 | 7.61 |
| #FFFFFF | 7.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#414653
Deuteranopia (green-blind)
#5F5C4F
Tritanopia (blue-blind)
#A5153A
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #982852; /* rgb */ color: rgb(152, 40, 82); /* oklch */ color: oklch(46.5% 0.151 2.4);
Tailwind
colors: {
custom: {
50: '#bb6c82',
500: '#982852',
950: '#000000',
},
}SCSS
$custom: #982852; $custom-light: #bb6c82; $custom-dark: #000000;
JSON
{
"hex": "#982852",
"rgb": {
"r": 152,
"g": 40,
"b": 82
},
"hsl": {
"h": 337.5,
"s": 58.333,
"l": 37.647
},
"oklch": {
"l": 0.46451,
"c": 0.15069,
"h": 2.4
},
"luminance": 0.08802
}Semantic roles & 50–950 ramp
primary
#982852
secondary
#60BC99
accent
#E2A746
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C