#7B1828#7B1828
#7B1828 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.5% C 0.133 H 17.7°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).
Color values
| HEX | #7B1828 |
|---|---|
| RGB | rgb(123, 24, 40) |
| HSL | hsl(350, 67%, 29%) |
| HSV | hsv(350, 80%, 48%) |
| CMYK | cmyk(0%, 80.5%, 67.5%, 51.8%) |
| CIE-LAB | lab(26.79, 42.44, 16.87) |
| CIE-LCH | lch(26.79, 45.67, 21.67°) |
| OKLab | oklab(38.55% 0.1263 0.0403) |
| OKLCH | oklch(38.55% 0.133 17.7) |
| XYZ | xyz(8.8790, 5.0188, 2.5083) |
| Luminance | 0.0502 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 2.07
Burgundy
#800020
ΔE00 2.65
Bordeaux
#7B002C
ΔE00 4.31
Claret
#680018
ΔE00 4.92
Red Wine
#8C0034
ΔE00 5.30
Wine
#722F37
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B1828 #187B6B
analogous
#7B185A #7B1828 #7B3A18
triadic
#7B1828 #287B18 #18287B
tetradic
#7B1828 #5A7B18 #187B6B #3A187B
square
#7B1828 #5A7B18 #187B6B #3A187B
split-complementary
#7B1828 #187B3A #185A7B
monochromatic
#1A0508 #480E17 #7B1828 #AE2239 #D83650
Accessibility & contrast
On white
10.48
#7B1828 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#7B1828 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B1828
10.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B1828 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B1828 | 1.00 | 10.48 | 2.00 | 10.48 |
| #FFFFFF | 10.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353228
Deuteranopia (green-blind)
#4E4725
Tritanopia (blue-blind)
#87001F
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #7b1828; /* rgb */ color: rgb(123, 24, 40); /* oklch */ color: oklch(38.5% 0.133 17.7);
Tailwind
colors: {
custom: {
50: '#a85f61',
500: '#7b1828',
950: '#000000',
},
}SCSS
$custom: #7b1828; $custom-light: #a85f61; $custom-dark: #000000;
JSON
{
"hex": "#7b1828",
"rgb": {
"r": 123,
"g": 24,
"b": 40
},
"hsl": {
"h": 350.303,
"s": 67.347,
"l": 28.824
},
"oklch": {
"l": 0.38545,
"c": 0.13254,
"h": 17.7
},
"luminance": 0.05017
}Semantic roles & 50–950 ramp
primary
#7B1828
secondary
#3FB09D
accent
#EACE3E
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979