#982548#982548
#982548 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 45.9% C 0.152 H 7.6°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #982548 |
|---|---|
| RGB | rgb(152, 37, 72) |
| HSL | hsl(342, 61%, 37%) |
| HSV | hsv(342, 76%, 60%) |
| CMYK | cmyk(0%, 75.7%, 52.6%, 40.4%) |
| CIE-LAB | lab(34.94, 49.31, 7.76) |
| CIE-LCH | lch(34.94, 49.92, 8.94°) |
| OKLab | oklab(45.87% 0.1502 0.02) |
| OKLCH | oklch(45.87% 0.152 7.6) |
| XYZ | xyz(14.7815, 8.4685, 6.9859) |
| Luminance | 0.0847 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 3.42
Purple Red
#990147
ΔE00 3.63
Cranberry
#9E003A
ΔE00 4.10
Purplish Red
#B0054B
ΔE00 4.40
Raspberry (survey)
#B00149
ΔE00 4.47
Violet Red
#A50055
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982548 #259875
analogous
#982582 #982548 #983B25
triadic
#982548 #489825 #254898
tetradic
#982548 #829825 #259875 #3B2598
square
#982548 #829825 #259875 #3B2598
split-complementary
#982548 #25983B #258298
monochromatic
#360D19 #671931 #982548 #C9315F #D85F84
Accessibility & contrast
On white
7.80
#982548 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#982548 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982548
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982548 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982548 | 1.00 | 7.80 | 2.69 | 7.80 |
| #FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#424349
Deuteranopia (green-blind)
#605B45
Tritanopia (blue-blind)
#A60734
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #982548; /* rgb */ color: rgb(152, 37, 72); /* oklch */ color: oklch(45.9% 0.152 7.6);
Tailwind
colors: {
custom: {
50: '#bc6a7a',
500: '#982548',
950: '#000000',
},
}SCSS
$custom: #982548; $custom-light: #bc6a7a; $custom-dark: #000000;
JSON
{
"hex": "#982548",
"rgb": {
"r": 152,
"g": 37,
"b": 72
},
"hsl": {
"h": 341.739,
"s": 60.847,
"l": 37.059
},
"oklch": {
"l": 0.45869,
"c": 0.15156,
"h": 7.6
},
"luminance": 0.08466
}Semantic roles & 50–950 ramp
primary
#982548
secondary
#5CBDA0
accent
#E4B344
background
#FCF6F7
surface
#F8ECED
border
#D1C7C8
text
#130709
muted
#827A7B