#982331#982331
#982331 is a mid, vivid red. Relative luminance 0.081; OKLCH L 45.2% C 0.152 H 19.6°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #982331 |
|---|---|
| RGB | rgb(152, 35, 49) |
| HSL | hsl(353, 63%, 37%) |
| HSV | hsv(353, 77%, 60%) |
| CMYK | cmyk(0%, 77%, 67.8%, 40.4%) |
| CIE-LAB | lab(34.19, 48.37, 21.61) |
| CIE-LCH | lch(34.19, 52.98, 24.07°) |
| OKLab | oklab(45.15% 0.1431 0.0511) |
| OKLCH | oklch(45.15% 0.152 19.6) |
| XYZ | xyz(14.1058, 8.1013, 3.7261) |
| Luminance | 0.0810 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 4.22
Brown
#A52A2A
ΔE00 5.33
Cranberry
#9E003A
ΔE00 5.74
Burgundy
#800020
ΔE00 6.46
Carmine
#9D0216
ΔE00 6.68
Red Wine
#8C0034
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982331 #23988A
analogous
#98236C #982331 #985023
triadic
#982331 #319823 #233198
tetradic
#982331 #6C9823 #23988A #502398
square
#982331 #6C9823 #23988A #502398
split-complementary
#982331 #239850 #236C98
monochromatic
#350C11 #661821 #982331 #CA2E41 #D95C6B
Accessibility & contrast
On white
8.02
#982331 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#982331 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982331
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982331 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982331 | 1.00 | 8.02 | 2.62 | 8.02 |
| #FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454131
Deuteranopia (green-blind)
#62592D
Tritanopia (blue-blind)
#A70029
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #982331; /* rgb */ color: rgb(152, 35, 49); /* oklch */ color: oklch(45.2% 0.152 19.6);
Tailwind
colors: {
custom: {
50: '#be6969',
500: '#982331',
950: '#000000',
},
}SCSS
$custom: #982331; $custom-light: #be6969; $custom-dark: #000000;
JSON
{
"hex": "#982331",
"rgb": {
"r": 152,
"g": 35,
"b": 49
},
"hsl": {
"h": 352.821,
"s": 62.567,
"l": 36.667
},
"oklch": {
"l": 0.45153,
"c": 0.15197,
"h": 19.6
},
"luminance": 0.08099
}Semantic roles & 50–950 ramp
primary
#982331
secondary
#59BEB2
accent
#E6D242
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130706
muted
#827A7A