#7B1F12#7B1F12
#7B1F12 is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.9% C 0.129 H 31.2°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).
Color values
| HEX | #7B1F12 |
|---|---|
| RGB | rgb(123, 31, 18) |
| HSL | hsl(7, 74%, 28%) |
| HSV | hsv(7, 85%, 48%) |
| CMYK | cmyk(0%, 74.8%, 85.4%, 51.8%) |
| CIE-LAB | lab(27.40, 38.87, 31.31) |
| CIE-LCH | lch(27.40, 49.91, 38.85°) |
| OKLab | oklab(38.9% 0.11 0.0667) |
| OKLCH | oklch(38.9% 0.129 31.2) |
| XYZ | xyz(8.7686, 5.2360, 1.1211) |
| Luminance | 0.0524 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Indian Red
#850E04
ΔE00 3.16
Reddy Brown
#6E1005
ΔE00 3.48
Maroon
#800000
ΔE00 3.54
Dark Red
#840000
ΔE00 3.73
Blood
#770001
ΔE00 3.75
Darkred
#8B0000
ΔE00 4.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B1F12 #126E7B
analogous
#7B1239 #7B1F12 #7B5412
triadic
#7B1F12 #127B1F #1F127B
tetradic
#7B1F12 #397B12 #126E7B #54127B
square
#7B1F12 #397B12 #126E7B #54127B
split-complementary
#7B1F12 #127B54 #12397B
monochromatic
#1B0704 #46120A #7B1F12 #B02C1A #E03F28
Accessibility & contrast
On white
10.26
#7B1F12 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#7B1F12 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B1F12
10.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B1F12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B1F12 | 1.00 | 10.26 | 2.05 | 10.26 |
| #FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B340F
Deuteranopia (green-blind)
#51480D
Tritanopia (blue-blind)
#88001D
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7b1f12; /* rgb */ color: rgb(123, 31, 18); /* oklch */ color: oklch(38.9% 0.129 31.2);
Tailwind
colors: {
custom: {
50: '#a96251',
500: '#7b1f12',
950: '#000000',
},
}SCSS
$custom: #7b1f12; $custom-light: #a96251; $custom-dark: #000000;
JSON
{
"hex": "#7b1f12",
"rgb": {
"r": 123,
"g": 31,
"b": 18
},
"hsl": {
"h": 7.429,
"s": 74.468,
"l": 27.647
},
"oklch": {
"l": 0.389,
"c": 0.12865,
"h": 31.2
},
"luminance": 0.05235
}Semantic roles & 50–950 ramp
primary
#7B1F12
secondary
#38A2B1
accent
#DAF137
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#110502
muted
#807A78