#982042#982042
#982042 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.3% C 0.156 H 9.9°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #982042 |
|---|---|
| RGB | rgb(152, 32, 66) |
| HSL | hsl(343, 65%, 36%) |
| HSV | hsv(343, 79%, 60%) |
| CMYK | cmyk(0%, 78.9%, 56.6%, 40.4%) |
| CIE-LAB | lab(34.20, 50.49, 10.63) |
| CIE-LCH | lch(34.20, 51.59, 11.89°) |
| OKLab | oklab(45.27% 0.1532 0.0268) |
| OKLCH | oklch(45.27% 0.156 9.9) |
| XYZ | xyz(14.4502, 8.1039, 5.9565) |
| Luminance | 0.0810 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.72
Purple Red
#990147
ΔE00 4.12
Red Wine
#8C0034
ΔE00 4.25
Berry
#990F4B
ΔE00 4.30
Raspberry (survey)
#B00149
ΔE00 4.42
Purplish Red
#B0054B
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982042 #209876
analogous
#98207E #982042 #983A20
triadic
#982042 #429820 #204298
tetradic
#982042 #7E9820 #209876 #3A2098
square
#982042 #7E9820 #209876 #3A2098
split-complementary
#982042 #20983A #207E98
monochromatic
#330B16 #65152C #982042 #CB2B58 #DC577C
Accessibility & contrast
On white
8.01
#982042 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#982042 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982042
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982042 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982042 | 1.00 | 8.01 | 2.62 | 8.01 |
| #FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404143
Deuteranopia (green-blind)
#5F593F
Tritanopia (blue-blind)
#A6002F
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #982042; /* rgb */ color: rgb(152, 32, 66); /* oklch */ color: oklch(45.3% 0.156 9.9);
Tailwind
colors: {
custom: {
50: '#bd6876',
500: '#982042',
950: '#000000',
},
}SCSS
$custom: #982042; $custom-light: #bd6876; $custom-dark: #000000;
JSON
{
"hex": "#982042",
"rgb": {
"r": 152,
"g": 32,
"b": 66
},
"hsl": {
"h": 343,
"s": 65.217,
"l": 36.078
},
"oklch": {
"l": 0.45272,
"c": 0.15553,
"h": 9.9
},
"luminance": 0.08102
}Semantic roles & 50–950 ramp
primary
#982042
secondary
#54BFA1
accent
#E8B840
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B