#7E121C#7E121C
#7E121C is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.5% C 0.141 H 23.1°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).
Color values
| HEX | #7E121C |
|---|---|
| RGB | rgb(126, 18, 28) |
| HSL | hsl(354, 75%, 28%) |
| HSV | hsv(354, 86%, 49%) |
| CMYK | cmyk(0%, 85.7%, 77.8%, 50.6%) |
| CIE-LAB | lab(26.60, 44.53, 24.68) |
| CIE-LCH | lch(26.60, 50.91, 29.00°) |
| OKLab | oklab(38.46% 0.1297 0.0552) |
| OKLCH | oklch(38.46% 0.141 23.1) |
| XYZ | xyz(9.0312, 4.9535, 1.5790) |
| Luminance | 0.0495 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.11
Wine Red
#7B0323
ΔE00 4.51
Crimson (survey)
#8C000F
ΔE00 4.73
Rosewood
#65000B
ΔE00 5.53
Claret
#680018
ΔE00 5.63
Blood
#770001
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E121C #127E74
analogous
#7E1252 #7E121C #7E3E12
triadic
#7E121C #1C7E12 #121C7E
tetradic
#7E121C #527E12 #127E74 #3E127E
square
#7E121C #527E12 #127E74 #3E127E
split-complementary
#7E121C #127E3E #12527E
monochromatic
#1B0406 #480A10 #7E121C #B41A28 #E12A3B
Accessibility & contrast
On white
10.55
#7E121C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#7E121C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E121C
10.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E121C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E121C | 1.00 | 10.55 | 1.99 | 10.55 |
| #FFFFFF | 10.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#35301B
Deuteranopia (green-blind)
#4F4718
Tritanopia (blue-blind)
#8B0017
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #7e121c; /* rgb */ color: rgb(126, 18, 28); /* oklch */ color: oklch(38.5% 0.141 23.1);
Tailwind
colors: {
custom: {
50: '#ab5d58',
500: '#7e121c',
950: '#000000',
},
}SCSS
$custom: #7e121c; $custom-light: #ab5d58; $custom-dark: #000000;
JSON
{
"hex": "#7e121c",
"rgb": {
"r": 126,
"g": 18,
"b": 28
},
"hsl": {
"h": 354.444,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.38457,
"c": 0.14095,
"h": 23.1
},
"luminance": 0.04952
}Semantic roles & 50–950 ramp
primary
#7E121C
secondary
#38B4A8
accent
#F2E036
background
#FBF5F5
surface
#F6E9E9
border
#D0C5C5
text
#120503
muted
#817978