#982718#982718
#982718 is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.2% C 0.151 H 31.0°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #982718 |
|---|---|
| RGB | rgb(152, 39, 24) |
| HSL | hsl(7, 73%, 35%) |
| HSV | hsv(7, 84%, 60%) |
| CMYK | cmyk(0%, 74.3%, 84.2%, 40.4%) |
| CIE-LAB | lab(34.38, 45.88, 36.72) |
| CIE-LCH | lch(34.38, 58.76, 38.67°) |
| OKLab | oklab(45.19% 0.1299 0.0779) |
| OKLCH | oklch(45.19% 0.151 31) |
| XYZ | xyz(13.8409, 8.1946, 1.7169) |
| Luminance | 0.0819 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brownish Red
#9E3623
ΔE00 3.19
Red Brown
#8B2E16
ΔE00 3.34
Brick
#A03623
ΔE00 3.40
Burnt Red
#9F2305
ΔE00 3.79
Deep Red
#9A0200
ΔE00 3.92
Blood Red
#980002
ΔE00 3.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982718 #188998
analogous
#981849 #982718 #986718
triadic
#982718 #189827 #271898
tetradic
#982718 #499818 #188998 #671898
square
#982718 #499818 #188998 #671898
split-complementary
#982718 #189867 #184998
monochromatic
#2E0C07 #631910 #982718 #CD3520 #E25A48
Accessibility & contrast
On white
7.96
#982718 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#982718 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982718
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982718 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982718 | 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)
#494115
Deuteranopia (green-blind)
#655A12
Tritanopia (blue-blind)
#A80025
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #982718; /* rgb */ color: rgb(152, 39, 24); /* oklch */ color: oklch(45.2% 0.151 31.0);
Tailwind
colors: {
custom: {
50: '#bf6a57',
500: '#982718',
950: '#000000',
},
}SCSS
$custom: #982718; $custom-light: #bf6a57; $custom-dark: #000000;
JSON
{
"hex": "#982718",
"rgb": {
"r": 152,
"g": 39,
"b": 24
},
"hsl": {
"h": 7.031,
"s": 72.727,
"l": 34.51
},
"oklch": {
"l": 0.45194,
"c": 0.15143,
"h": 31
},
"luminance": 0.08192
}Semantic roles & 50–950 ramp
primary
#982718
secondary
#48B5C4
accent
#DAEF38
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140703
muted
#827A78