#7B1A12#7B1A12
#7B1A12 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.4% C 0.133 H 29.4°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).
Color values
| HEX | #7B1A12 |
|---|---|
| RGB | rgb(123, 26, 18) |
| HSL | hsl(5, 74%, 28%) |
| HSV | hsv(5, 85%, 48%) |
| CMYK | cmyk(0%, 78.9%, 85.4%, 51.8%) |
| CIE-LAB | lab(26.72, 40.75, 30.67) |
| CIE-LCH | lch(26.72, 51.00, 36.97°) |
| OKLab | oklab(38.4% 0.1159 0.0653) |
| OKLCH | oklch(38.4% 0.133 29.4) |
| XYZ | xyz(8.6480, 4.9948, 1.0809) |
| Luminance | 0.0499 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Blood
#770001
ΔE00 3.06
Maroon
#800000
ΔE00 3.16
Reddy Brown
#6E1005
ΔE00 3.17
Indian Red
#850E04
ΔE00 3.26
Dark Red
#840000
ΔE00 3.49
Crimson (survey)
#8C000F
ΔE00 3.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B1A12 #12737B
analogous
#7B123F #7B1A12 #7B4E12
triadic
#7B1A12 #127B1A #1A127B
tetradic
#7B1A12 #3F7B12 #12737B #4E127B
square
#7B1A12 #3F7B12 #12737B #4E127B
split-complementary
#7B1A12 #127B4E #123F7B
monochromatic
#1B0604 #460F0A #7B1A12 #B0251A #E03628
Accessibility & contrast
On white
10.51
#7B1A12 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#7B1A12 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B1A12
10.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B1A12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B1A12 | 1.00 | 10.51 | 2.00 | 10.51 |
| #FFFFFF | 10.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383210
Deuteranopia (green-blind)
#50470D
Tritanopia (blue-blind)
#880019
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #7b1a12; /* rgb */ color: rgb(123, 26, 18); /* oklch */ color: oklch(38.4% 0.133 29.4);
Tailwind
colors: {
custom: {
50: '#aa5f51',
500: '#7b1a12',
950: '#000000',
},
}SCSS
$custom: #7b1a12; $custom-light: #aa5f51; $custom-dark: #000000;
JSON
{
"hex": "#7b1a12",
"rgb": {
"r": 123,
"g": 26,
"b": 18
},
"hsl": {
"h": 4.571,
"s": 74.468,
"l": 27.647
},
"oklch": {
"l": 0.38395,
"c": 0.13298,
"h": 29.4
},
"luminance": 0.04993
}Semantic roles & 50–950 ramp
primary
#7B1A12
secondary
#38A8B1
accent
#E3F137
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#110502
muted
#807978