#982240#982240
#982240 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.4% C 0.153 H 11.5°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #982240 |
|---|---|
| RGB | rgb(152, 34, 64) |
| HSL | hsl(345, 63%, 36%) |
| HSV | hsv(345, 78%, 60%) |
| CMYK | cmyk(0%, 77.6%, 57.9%, 40.4%) |
| CIE-LAB | lab(34.38, 49.69, 12.18) |
| CIE-LCH | lch(34.38, 51.16, 13.77°) |
| OKLab | oklab(45.39% 0.1503 0.0305) |
| OKLCH | oklch(45.39% 0.153 11.5) |
| XYZ | xyz(14.4477, 8.1917, 5.6699) |
| Luminance | 0.0819 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.65
Red Wine
#8C0034
ΔE00 4.39
Rouge
#AB1239
ΔE00 4.66
Raspberry (survey)
#B00149
ΔE00 4.73
Purplish Red
#B0054B
ΔE00 4.91
Purple Red
#990147
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982240 #22987A
analogous
#98227B #982240 #983F22
triadic
#982240 #409822 #224098
tetradic
#982240 #7B9822 #22987A #3F2298
square
#982240 #7B9822 #22987A #3F2298
split-complementary
#982240 #22983F #227B98
monochromatic
#340C16 #66172B #982240 #CA2D55 #DA5A7B
Accessibility & contrast
On white
7.96
#982240 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#982240 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982240
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982240 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982240 | 1.00 | 7.96 | 2.64 | 7.96 |
| #FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#424140
Deuteranopia (green-blind)
#605A3D
Tritanopia (blue-blind)
#A6002F
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #982240; /* rgb */ color: rgb(152, 34, 64); /* oklch */ color: oklch(45.4% 0.153 11.5);
Tailwind
colors: {
custom: {
50: '#bd6974',
500: '#982240',
950: '#000000',
},
}SCSS
$custom: #982240; $custom-light: #bd6974; $custom-dark: #000000;
JSON
{
"hex": "#982240",
"rgb": {
"r": 152,
"g": 34,
"b": 64
},
"hsl": {
"h": 344.746,
"s": 63.441,
"l": 36.471
},
"oklch": {
"l": 0.4539,
"c": 0.15338,
"h": 11.5
},
"luminance": 0.0819
}Semantic roles & 50–950 ramp
primary
#982240
secondary
#57BEA4
accent
#E6BC41
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B