#982838#982838
#982838 is a mid, vivid red. Relative luminance 0.085; OKLCH L 45.8% C 0.147 H 17.4°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #982838 |
|---|---|
| RGB | rgb(152, 40, 56) |
| HSL | hsl(351, 58%, 38%) |
| HSV | hsv(351, 74%, 60%) |
| CMYK | cmyk(0%, 73.7%, 63.2%, 40.4%) |
| CIE-LAB | lab(34.96, 47.02, 18.12) |
| CIE-LCH | lch(34.96, 50.39, 21.08°) |
| OKLab | oklab(45.77% 0.1403 0.0439) |
| OKLCH | oklch(45.77% 0.147 17.4) |
| XYZ | xyz(14.4230, 8.4806, 4.6181) |
| Luminance | 0.0848 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.74
Cranberry
#9E003A
ΔE00 4.76
Red Wine
#8C0034
ΔE00 6.37
Brown
#A52A2A
ΔE00 6.63
Rose Red
#BE013C
ΔE00 6.83
Raspberry (survey)
#B00149
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982838 #289888
analogous
#982870 #982838 #985028
triadic
#982838 #389828 #283898
tetradic
#982838 #709828 #289888 #502898
square
#982838 #709828 #289888 #502898
split-complementary
#982838 #289850 #287098
monochromatic
#370F14 #681B26 #982838 #C8354A #D66474
Accessibility & contrast
On white
7.79
#982838 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#982838 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982838
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982838 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982838 | 1.00 | 7.79 | 2.70 | 7.79 |
| #FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#464338
Deuteranopia (green-blind)
#635B35
Tritanopia (blue-blind)
#A7032F
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #982838; /* rgb */ color: rgb(152, 40, 56); /* oklch */ color: oklch(45.8% 0.147 17.4);
Tailwind
colors: {
custom: {
50: '#bd6b6e',
500: '#982838',
950: '#000000',
},
}SCSS
$custom: #982838; $custom-light: #bd6b6e; $custom-dark: #000000;
JSON
{
"hex": "#982838",
"rgb": {
"r": 152,
"g": 40,
"b": 56
},
"hsl": {
"h": 351.429,
"s": 58.333,
"l": 37.647
},
"oklch": {
"l": 0.45768,
"c": 0.14697,
"h": 17.4
},
"luminance": 0.08479
}Semantic roles & 50–950 ramp
primary
#982838
secondary
#60BCAF
accent
#E2CB46
background
#FCF6F6
surface
#F8ECEB
border
#D1C7C6
text
#130707
muted
#827A7A