#982818#982818
#982818 is a mid, vivid red. Relative luminance 0.083; OKLCH L 45.3% C 0.151 H 31.3°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #982818 |
|---|---|
| RGB | rgb(152, 40, 24) |
| HSL | hsl(8, 73%, 35%) |
| HSV | hsv(8, 84%, 60%) |
| CMYK | cmyk(0%, 73.7%, 84.2%, 40.4%) |
| CIE-LAB | lab(34.52, 45.50, 36.84) |
| CIE-LCH | lch(34.52, 58.55, 39.00°) |
| OKLab | oklab(45.3% 0.1287 0.0782) |
| OKLCH | oklch(45.3% 0.151 31.3) |
| XYZ | xyz(13.8742, 8.2611, 1.7280) |
| Luminance | 0.0826 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brownish Red
#9E3623
ΔE00 3.05
Red Brown
#8B2E16
ΔE00 3.20
Brick
#A03623
ΔE00 3.26
Burnt Red
#9F2305
ΔE00 3.64
Deep Red
#9A0200
ΔE00 4.00
Brick Red
#8F1402
ΔE00 4.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982818 #188898
analogous
#981848 #982818 #986818
triadic
#982818 #189828 #281898
tetradic
#982818 #489818 #188898 #681898
square
#982818 #489818 #188898 #681898
split-complementary
#982818 #189868 #184898
monochromatic
#2E0C07 #631A10 #982818 #CD3620 #E25B48
Accessibility & contrast
On white
7.92
#982818 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#982818 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982818
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982818 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982818 | 1.00 | 7.92 | 2.65 | 7.92 |
| #FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A4115
Deuteranopia (green-blind)
#665A12
Tritanopia (blue-blind)
#A80025
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #982818; /* rgb */ color: rgb(152, 40, 24); /* oklch */ color: oklch(45.3% 0.151 31.3);
Tailwind
colors: {
custom: {
50: '#bf6a57',
500: '#982818',
950: '#000000',
},
}SCSS
$custom: #982818; $custom-light: #bf6a57; $custom-dark: #000000;
JSON
{
"hex": "#982818",
"rgb": {
"r": 152,
"g": 40,
"b": 24
},
"hsl": {
"h": 7.5,
"s": 72.727,
"l": 34.51
},
"oklch": {
"l": 0.45295,
"c": 0.15058,
"h": 31.3
},
"luminance": 0.08259
}Semantic roles & 50–950 ramp
primary
#982818
secondary
#48B4C4
accent
#D9EF38
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140703
muted
#827A78