#982827#982827
#982827 is a mid, vivid red. Relative luminance 0.083; OKLCH L 45.5% C 0.148 H 25.7°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #982827 |
|---|---|
| RGB | rgb(152, 40, 39) |
| HSL | hsl(1, 59%, 37%) |
| HSV | hsv(1, 74%, 60%) |
| CMYK | cmyk(0%, 73.7%, 74.3%, 40.4%) |
| CIE-LAB | lab(34.68, 46.06, 28.44) |
| CIE-LCH | lch(34.68, 54.14, 31.69°) |
| OKLab | oklab(45.47% 0.1336 0.0644) |
| OKLCH | oklch(45.47% 0.148 25.7) |
| XYZ | xyz(14.0755, 8.3416, 2.7880) |
| Luminance | 0.0834 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.65
Carmine
#9D0216
ΔE00 3.92
Brownish Red
#9E3623
ΔE00 5.27
Firebrick
#B22222
ΔE00 5.34
Brick
#A03623
ΔE00 5.43
Crimson (survey)
#8C000F
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982827 #279798
analogous
#98275F #982827 #986127
triadic
#982827 #279828 #282798
tetradic
#982827 #5F9827 #279798 #612798
square
#982827 #5F9827 #279798 #612798
split-complementary
#982827 #279861 #275F98
monochromatic
#370E0E #671B1B #982827 #C93533 #D76463
Accessibility & contrast
On white
7.87
#982827 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#982827 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982827
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982827 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982827 | 1.00 | 7.87 | 2.67 | 7.87 |
| #FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#494226
Deuteranopia (green-blind)
#655A23
Tritanopia (blue-blind)
#A70029
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #982827; /* rgb */ color: rgb(152, 40, 39); /* oklch */ color: oklch(45.5% 0.148 25.7);
Tailwind
colors: {
custom: {
50: '#be6a61',
500: '#982827',
950: '#000000',
},
}SCSS
$custom: #982827; $custom-light: #be6a61; $custom-dark: #000000;
JSON
{
"hex": "#982827",
"rgb": {
"r": 152,
"g": 40,
"b": 39
},
"hsl": {
"h": 0.531,
"s": 59.162,
"l": 37.451
},
"oklch": {
"l": 0.4547,
"c": 0.14829,
"h": 25.7
},
"luminance": 0.08339
}Semantic roles & 50–950 ramp
primary
#982827
secondary
#5EBCBC
accent
#E1E245
background
#FCF6F5
surface
#F9ECEA
border
#D2C7C6
text
#140705
muted
#827A79