#982231#982231
#982231 is a mid, vivid red. Relative luminance 0.080; OKLCH L 45.1% C 0.153 H 19.4°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).
Color values
| HEX | #982231 |
|---|---|
| RGB | rgb(152, 34, 49) |
| HSL | hsl(352, 63%, 36%) |
| HSV | hsv(352, 78%, 60%) |
| CMYK | cmyk(0%, 77.6%, 67.8%, 40.4%) |
| CIE-LAB | lab(34.07, 48.71, 21.46) |
| CIE-LCH | lch(34.07, 53.23, 23.77°) |
| OKLab | oklab(45.06% 0.1442 0.0507) |
| OKLCH | oklch(45.06% 0.153 19.4) |
| XYZ | xyz(14.0768, 8.0433, 3.7164) |
| Luminance | 0.0804 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 4.12
Brown
#A52A2A
ΔE00 5.50
Cranberry
#9E003A
ΔE00 5.55
Burgundy
#800020
ΔE00 6.36
Carmine
#9D0216
ΔE00 6.76
Red Wine
#8C0034
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982231 #229889
analogous
#98226C #982231 #984E22
triadic
#982231 #319822 #223198
tetradic
#982231 #6C9822 #229889 #4E2298
square
#982231 #6C9822 #229889 #4E2298
split-complementary
#982231 #22984E #226C98
monochromatic
#340C11 #661721 #982231 #CA2D41 #DA5A6B
Accessibility & contrast
On white
8.05
#982231 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#982231 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982231
8.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982231 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982231 | 1.00 | 8.05 | 2.61 | 8.05 |
| #FFFFFF | 8.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444031
Deuteranopia (green-blind)
#62592D
Tritanopia (blue-blind)
#A70029
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #982231; /* rgb */ color: rgb(152, 34, 49); /* oklch */ color: oklch(45.1% 0.153 19.4);
Tailwind
colors: {
custom: {
50: '#be6869',
500: '#982231',
950: '#000000',
},
}SCSS
$custom: #982231; $custom-light: #be6869; $custom-dark: #000000;
JSON
{
"hex": "#982231",
"rgb": {
"r": 152,
"g": 34,
"b": 49
},
"hsl": {
"h": 352.373,
"s": 63.441,
"l": 36.471
},
"oklch": {
"l": 0.45064,
"c": 0.15288,
"h": 19.4
},
"luminance": 0.08041
}Semantic roles & 50–950 ramp
primary
#982231
secondary
#57BEB1
accent
#E6D141
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130706
muted
#827A7A