#982840#982840
#982840 is a mid, vivid red. Relative luminance 0.086; OKLCH L 45.9% C 0.147 H 12.9°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #982840 |
|---|---|
| RGB | rgb(152, 40, 64) |
| HSL | hsl(347, 58%, 38%) |
| HSV | hsv(347, 74%, 60%) |
| CMYK | cmyk(0%, 73.7%, 57.9%, 40.4%) |
| CIE-LAB | lab(35.13, 47.59, 13.20) |
| CIE-LCH | lch(35.13, 49.38, 15.51°) |
| OKLab | oklab(45.95% 0.1436 0.0329) |
| OKLCH | oklch(45.95% 0.147 12.9) |
| XYZ | xyz(14.6345, 8.5652, 5.7321) |
| Luminance | 0.0856 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cranberry
#9E003A
ΔE00 3.47
Rouge
#AB1239
ΔE00 4.33
Red Wine
#8C0034
ΔE00 5.26
Raspberry (survey)
#B00149
ΔE00 5.28
Purplish Red
#B0054B
ΔE00 5.47
Purple Red
#990147
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982840 #289880
analogous
#982878 #982840 #984828
triadic
#982840 #409828 #284098
tetradic
#982840 #789828 #289880 #482898
square
#982840 #789828 #289880 #482898
split-complementary
#982840 #289848 #287898
monochromatic
#370F17 #681B2C #982840 #C83554 #D6647D
Accessibility & contrast
On white
7.74
#982840 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#982840 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982840
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982840 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982840 | 1.00 | 7.74 | 2.71 | 7.74 |
| #FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454440
Deuteranopia (green-blind)
#625B3D
Tritanopia (blue-blind)
#A60932
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #982840; /* rgb */ color: rgb(152, 40, 64); /* oklch */ color: oklch(45.9% 0.147 12.9);
Tailwind
colors: {
custom: {
50: '#bc6b74',
500: '#982840',
950: '#000000',
},
}SCSS
$custom: #982840; $custom-light: #bc6b74; $custom-dark: #000000;
JSON
{
"hex": "#982840",
"rgb": {
"r": 152,
"g": 40,
"b": 64
},
"hsl": {
"h": 347.143,
"s": 58.333,
"l": 37.647
},
"oklch": {
"l": 0.45948,
"c": 0.14728,
"h": 12.9
},
"luminance": 0.08563
}Semantic roles & 50–950 ramp
primary
#982840
secondary
#60BCA8
accent
#E2C046
background
#FCF6F7
surface
#F8ECED
border
#D1C7C8
text
#130708
muted
#827A7B