#982717#982717
#982717 is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.2% C 0.152 H 31.3°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #982717 |
|---|---|
| RGB | rgb(152, 39, 23) |
| HSL | hsl(7, 74%, 34%) |
| HSV | hsv(7, 85%, 60%) |
| CMYK | cmyk(0%, 74.3%, 84.9%, 40.4%) |
| CIE-LAB | lab(34.38, 45.85, 37.23) |
| CIE-LCH | lch(34.38, 59.06, 39.08°) |
| OKLab | oklab(45.18% 0.1296 0.0787) |
| OKLCH | oklch(45.18% 0.152 31.3) |
| XYZ | xyz(13.8307, 8.1905, 1.6631) |
| Luminance | 0.0819 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brownish Red
#9E3623
ΔE00 3.21
Red Brown
#8B2E16
ΔE00 3.21
Brick
#A03623
ΔE00 3.41
Burnt Red
#9F2305
ΔE00 3.53
Deep Red
#9A0200
ΔE00 3.81
Brick Red
#8F1402
ΔE00 3.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982717 #178898
analogous
#981748 #982717 #986817
triadic
#982717 #179827 #271798
tetradic
#982717 #489817 #178898 #681798
square
#982717 #489817 #178898 #681798
split-complementary
#982717 #179868 #174898
monochromatic
#2E0C07 #63190F #982717 #CD351F #E35A46
Accessibility & contrast
On white
7.96
#982717 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#982717 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982717
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982717 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982717 | 1.00 | 7.96 | 2.64 | 7.96 |
| #FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#494114
Deuteranopia (green-blind)
#655A11
Tritanopia (blue-blind)
#A80025
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #982717; /* rgb */ color: rgb(152, 39, 23); /* oklch */ color: oklch(45.2% 0.152 31.3);
Tailwind
colors: {
custom: {
50: '#bf6a56',
500: '#982717',
950: '#000000',
},
}SCSS
$custom: #982717; $custom-light: #bf6a56; $custom-dark: #000000;
JSON
{
"hex": "#982717",
"rgb": {
"r": 152,
"g": 39,
"b": 23
},
"hsl": {
"h": 7.442,
"s": 73.714,
"l": 34.314
},
"oklch": {
"l": 0.45185,
"c": 0.15158,
"h": 31.3
},
"luminance": 0.08188
}Semantic roles & 50–950 ramp
primary
#982717
secondary
#47B5C4
accent
#D9F037
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140703
muted
#827A78