#982A1B#982A1B
#982A1B is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.5% C 0.148 H 31.0°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #982A1B |
|---|---|
| RGB | rgb(152, 42, 27) |
| HSL | hsl(7, 70%, 35%) |
| HSV | hsv(7, 82%, 60%) |
| CMYK | cmyk(0%, 72.4%, 82.2%, 40.4%) |
| CIE-LAB | lab(34.83, 44.82, 35.54) |
| CIE-LCH | lch(34.83, 57.20, 38.41°) |
| OKLab | oklab(45.53% 0.1271 0.0764) |
| OKLCH | oklch(45.53% 0.148 31) |
| XYZ | xyz(13.9763, 8.4126, 1.9246) |
| Luminance | 0.0841 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brownish Red
#9E3623
ΔE00 2.74
Brick
#A03623
ΔE00 2.98
Red Brown
#8B2E16
ΔE00 3.38
Burnt Red
#9F2305
ΔE00 4.12
Darkish Red
#A90308
ΔE00 4.37
Deep Red
#9A0200
ΔE00 4.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982A1B #1B8998
analogous
#981B4B #982A1B #98681B
triadic
#982A1B #1B982A #2A1B98
tetradic
#982A1B #4B981B #1B8998 #681B98
square
#982A1B #4B981B #1B8998 #681B98
split-complementary
#982A1B #1B9868 #1B4B98
monochromatic
#300D09 #641C12 #982A1B #CC3824 #E05F4E
Accessibility & contrast
On white
7.83
#982A1B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#982A1B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982A1B
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982A1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982A1B | 1.00 | 7.83 | 2.68 | 7.83 |
| #FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B4218
Deuteranopia (green-blind)
#665B16
Tritanopia (blue-blind)
#A80028
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #982a1b; /* rgb */ color: rgb(152, 42, 27); /* oklch */ color: oklch(45.5% 0.148 31.0);
Tailwind
colors: {
custom: {
50: '#bf6b59',
500: '#982a1b',
950: '#000000',
},
}SCSS
$custom: #982a1b; $custom-light: #bf6b59; $custom-dark: #000000;
JSON
{
"hex": "#982a1b",
"rgb": {
"r": 152,
"g": 42,
"b": 27
},
"hsl": {
"h": 7.2,
"s": 69.832,
"l": 35.098
},
"oklch": {
"l": 0.45533,
"c": 0.14834,
"h": 31
},
"luminance": 0.0841
}Semantic roles & 50–950 ramp
primary
#982A1B
secondary
#4DB4C2
accent
#D7ED3B
background
#FCF6F5
surface
#F9ECE9
border
#D2C7C5
text
#140703
muted
#827A78