#7B2818#7B2818
#7B2818 is a dark, moderate red. Relative luminance 0.058; OKLCH L 40.0% C 0.119 H 32.9°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).
Color values
| HEX | #7B2818 |
|---|---|
| RGB | rgb(123, 40, 24) |
| HSL | hsl(10, 67%, 29%) |
| HSV | hsv(10, 80%, 48%) |
| CMYK | cmyk(0%, 67.5%, 80.5%, 51.8%) |
| CIE-LAB | lab(28.89, 35.18, 29.41) |
| CIE-LCH | lch(28.89, 45.86, 39.90°) |
| OKLab | oklab(40.04% 0.0998 0.0646) |
| OKLCH | oklch(40.04% 0.119 32.9) |
| XYZ | xyz(9.0930, 5.7958, 1.5039) |
| Luminance | 0.0579 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 4.07
Indian Red
#850E04
ΔE00 4.52
Reddish Brown
#7F2B0A
ΔE00 4.59
Reddy Brown
#6E1005
ΔE00 4.87
Maroon
#800000
ΔE00 5.25
Dark Red
#840000
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B2818 #186B7B
analogous
#7B183A #7B2818 #7B5A18
triadic
#7B2818 #187B28 #28187B
tetradic
#7B2818 #3A7B18 #186B7B #5A187B
square
#7B2818 #3A7B18 #186B7B #5A187B
split-complementary
#7B2818 #187B5A #183A7B
monochromatic
#1A0805 #48170E #7B2818 #AE3922 #D85036
Accessibility & contrast
On white
9.73
#7B2818 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#7B2818 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B2818
9.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B2818 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B2818 | 1.00 | 9.73 | 2.16 | 9.73 |
| #FFFFFF | 9.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#403916
Deuteranopia (green-blind)
#544B15
Tritanopia (blue-blind)
#881125
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7b2818; /* rgb */ color: rgb(123, 40, 24); /* oklch */ color: oklch(40.0% 0.119 32.9);
Tailwind
colors: {
custom: {
50: '#a86656',
500: '#7b2818',
950: '#000000',
},
}SCSS
$custom: #7b2818; $custom-light: #a86656; $custom-dark: #000000;
JSON
{
"hex": "#7b2818",
"rgb": {
"r": 123,
"g": 40,
"b": 24
},
"hsl": {
"h": 9.697,
"s": 67.347,
"l": 28.824
},
"oklch": {
"l": 0.4004,
"c": 0.11885,
"h": 32.9
},
"luminance": 0.05794
}Semantic roles & 50–950 ramp
primary
#7B2818
secondary
#3F9DB0
accent
#CEEA3E
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78