#982048#982048
#982048 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.4% C 0.157 H 6.6°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #982048 |
|---|---|
| RGB | rgb(152, 32, 72) |
| HSL | hsl(340, 65%, 36%) |
| HSV | hsv(340, 79%, 60%) |
| CMYK | cmyk(0%, 78.9%, 52.6%, 40.4%) |
| CIE-LAB | lab(34.35, 50.97, 6.93) |
| CIE-LCH | lch(34.35, 51.44, 7.75°) |
| OKLab | oklab(45.43% 0.1556 0.018) |
| OKLCH | oklch(45.43% 0.157 6.6) |
| XYZ | xyz(14.6364, 8.1784, 6.9375) |
| Luminance | 0.0818 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.57
Purple Red
#990147
ΔE00 2.77
Cranberry
#9E003A
ΔE00 4.09
Purplish Red
#B0054B
ΔE00 4.36
Raspberry (survey)
#B00149
ΔE00 4.45
Violet Red
#A50055
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982048 #209870
analogous
#982084 #982048 #983420
triadic
#982048 #489820 #204898
tetradic
#982048 #849820 #209870 #342098
square
#982048 #849820 #209870 #342098
split-complementary
#982048 #209834 #208498
monochromatic
#330B18 #651530 #982048 #CB2B60 #DC5783
Accessibility & contrast
On white
7.97
#982048 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#982048 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982048
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982048 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982048 | 1.00 | 7.97 | 2.64 | 7.97 |
| #FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F4249
Deuteranopia (green-blind)
#5E5945
Tritanopia (blue-blind)
#A60031
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #982048; /* rgb */ color: rgb(152, 32, 72); /* oklch */ color: oklch(45.4% 0.157 6.6);
Tailwind
colors: {
custom: {
50: '#bc687a',
500: '#982048',
950: '#000000',
},
}SCSS
$custom: #982048; $custom-light: #bc687a; $custom-dark: #000000;
JSON
{
"hex": "#982048",
"rgb": {
"r": 152,
"g": 32,
"b": 72
},
"hsl": {
"h": 340,
"s": 65.217,
"l": 36.078
},
"oklch": {
"l": 0.45435,
"c": 0.1566,
"h": 6.6
},
"luminance": 0.08176
}Semantic roles & 50–950 ramp
primary
#982048
secondary
#54BF9C
accent
#E8B040
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B