#982228#982228
#982228 is a dark, vivid red. Relative luminance 0.080; OKLCH L 44.9% C 0.154 H 23.6°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).
Color values
| HEX | #982228 |
|---|---|
| RGB | rgb(152, 34, 40) |
| HSL | hsl(357, 63%, 36%) |
| HSV | hsv(357, 78%, 60%) |
| CMYK | cmyk(0%, 77.6%, 73.7%, 40.4%) |
| CIE-LAB | lab(33.93, 48.25, 26.95) |
| CIE-LCH | lch(33.93, 55.26, 29.19°) |
| OKLab | oklab(44.91% 0.1407 0.0614) |
| OKLCH | oklch(44.91% 0.154 23.6) |
| XYZ | xyz(13.9055, 7.9748, 2.8142) |
| Luminance | 0.0797 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 3.41
Carmine
#9D0216
ΔE00 4.06
Crimson (survey)
#8C000F
ΔE00 5.69
Firebrick
#B22222
ΔE00 6.17
Rouge
#AB1239
ΔE00 6.40
Brownish Red
#9E3623
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982228 #229892
analogous
#982263 #982228 #985722
triadic
#982228 #289822 #222898
tetradic
#982228 #639822 #229892 #572298
square
#982228 #639822 #229892 #572298
split-complementary
#982228 #229857 #226398
monochromatic
#340C0E #66171B #982228 #CA2D35 #DA5A61
Accessibility & contrast
On white
8.09
#982228 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#982228 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982228
8.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982228 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982228 | 1.00 | 8.09 | 2.59 | 8.09 |
| #FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454027
Deuteranopia (green-blind)
#635924
Tritanopia (blue-blind)
#A80026
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #982228; /* rgb */ color: rgb(152, 34, 40); /* oklch */ color: oklch(44.9% 0.154 23.6);
Tailwind
colors: {
custom: {
50: '#be6862',
500: '#982228',
950: '#000000',
},
}SCSS
$custom: #982228; $custom-light: #be6862; $custom-dark: #000000;
JSON
{
"hex": "#982228",
"rgb": {
"r": 152,
"g": 34,
"b": 40
},
"hsl": {
"h": 356.949,
"s": 63.441,
"l": 36.471
},
"oklch": {
"l": 0.44913,
"c": 0.15351,
"h": 23.6
},
"luminance": 0.07973
}Semantic roles & 50–950 ramp
primary
#982228
secondary
#57BEB9
accent
#E6DE41
background
#FCF6F5
surface
#F9EBEA
border
#D2C6C6
text
#140705
muted
#827A79