#982227#982227
#982227 is a dark, vivid red. Relative luminance 0.080; OKLCH L 44.9% C 0.154 H 24.0°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).
Color values
| HEX | #982227 |
|---|---|
| RGB | rgb(152, 34, 39) |
| HSL | hsl(357, 63%, 36%) |
| HSV | hsv(357, 78%, 60%) |
| CMYK | cmyk(0%, 77.6%, 74.3%, 40.4%) |
| CIE-LAB | lab(33.92, 48.20, 27.56) |
| CIE-LCH | lch(33.92, 55.52, 29.76°) |
| OKLab | oklab(44.9% 0.1403 0.0625) |
| OKLCH | oklch(44.9% 0.154 24) |
| XYZ | xyz(13.8887, 7.9681, 2.7258) |
| Luminance | 0.0797 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 3.28
Carmine
#9D0216
ΔE00 3.80
Crimson (survey)
#8C000F
ΔE00 5.48
Firebrick
#B22222
ΔE00 5.98
Brownish Red
#9E3623
ΔE00 6.59
Rouge
#AB1239
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982227 #229893
analogous
#982262 #982227 #985822
triadic
#982227 #279822 #222798
tetradic
#982227 #629822 #229893 #582298
square
#982227 #629822 #229893 #582298
split-complementary
#982227 #229858 #226298
monochromatic
#340C0D #66171A #982227 #CA2D34 #DA5A60
Accessibility & contrast
On white
8.10
#982227 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#982227 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982227
8.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982227 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982227 | 1.00 | 8.10 | 2.59 | 8.10 |
| #FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#464026
Deuteranopia (green-blind)
#635923
Tritanopia (blue-blind)
#A80025
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #982227; /* rgb */ color: rgb(152, 34, 39); /* oklch */ color: oklch(44.9% 0.154 24.0);
Tailwind
colors: {
custom: {
50: '#be6861',
500: '#982227',
950: '#000000',
},
}SCSS
$custom: #982227; $custom-light: #be6861; $custom-dark: #000000;
JSON
{
"hex": "#982227",
"rgb": {
"r": 152,
"g": 34,
"b": 39
},
"hsl": {
"h": 357.458,
"s": 63.441,
"l": 36.471
},
"oklch": {
"l": 0.44898,
"c": 0.15361,
"h": 24
},
"luminance": 0.07966
}Semantic roles & 50–950 ramp
primary
#982227
secondary
#57BEBA
accent
#E6DF41
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140705
muted
#827A79