#982845#982845
#982845 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.1% C 0.148 H 10.0°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #982845 |
|---|---|
| RGB | rgb(152, 40, 69) |
| HSL | hsl(344, 58%, 38%) |
| HSV | hsv(344, 74%, 60%) |
| CMYK | cmyk(0%, 73.7%, 54.6%, 40.4%) |
| CIE-LAB | lab(35.25, 47.98, 10.14) |
| CIE-LCH | lch(35.25, 49.04, 11.93°) |
| OKLab | oklab(46.07% 0.1456 0.0258) |
| OKLCH | oklch(46.07% 0.148 10) |
| XYZ | xyz(14.7832, 8.6247, 6.5154) |
| Luminance | 0.0862 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 3.71
Raspberry (survey)
#B00149
ΔE00 4.65
Purplish Red
#B0054B
ΔE00 4.71
Berry
#990F4B
ΔE00 4.78
Purple Red
#990147
ΔE00 4.83
Red Wine
#8C0034
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982845 #28987B
analogous
#98287D #982845 #984328
triadic
#982845 #459828 #284598
tetradic
#982845 #7D9828 #28987B #432898
square
#982845 #7D9828 #28987B #432898
split-complementary
#982845 #289843 #287D98
monochromatic
#370F19 #681B2F #982845 #C8355B #D66482
Accessibility & contrast
On white
7.71
#982845 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#982845 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982845
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982845 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982845 | 1.00 | 7.71 | 2.72 | 7.71 |
| #FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444445
Deuteranopia (green-blind)
#615B42
Tritanopia (blue-blind)
#A60D34
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #982845; /* rgb */ color: rgb(152, 40, 69); /* oklch */ color: oklch(46.1% 0.148 10.0);
Tailwind
colors: {
custom: {
50: '#bc6b78',
500: '#982845',
950: '#000000',
},
}SCSS
$custom: #982845; $custom-light: #bc6b78; $custom-dark: #000000;
JSON
{
"hex": "#982845",
"rgb": {
"r": 152,
"g": 40,
"b": 69
},
"hsl": {
"h": 344.464,
"s": 58.333,
"l": 37.647
},
"oklch": {
"l": 0.46074,
"c": 0.14783,
"h": 10
},
"luminance": 0.08623
}Semantic roles & 50–950 ramp
primary
#982845
secondary
#60BCA4
accent
#E2B946
background
#FCF6F7
surface
#F8ECED
border
#D1C7C8
text
#130708
muted
#827A7B