#7D1F23#7D1F23
#7D1F23 is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.5% C 0.128 H 23.2°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).
Color values
| HEX | #7D1F23 |
|---|---|
| RGB | rgb(125, 31, 35) |
| HSL | hsl(357, 60%, 31%) |
| HSV | hsv(357, 75%, 49%) |
| CMYK | cmyk(0%, 75.2%, 72%, 51%) |
| CIE-LAB | lab(28.01, 40.29, 21.77) |
| CIE-LCH | lch(28.01, 45.79, 28.39°) |
| OKLab | oklab(39.5% 0.118 0.0505) |
| OKLCH | oklch(39.5% 0.128 23.2) |
| XYZ | xyz(9.2518, 5.4627, 2.1570) |
| Luminance | 0.0546 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.82
Wine Red
#7B0323
ΔE00 4.73
Crimson (survey)
#8C000F
ΔE00 5.92
Claret
#680018
ΔE00 6.20
Rosewood
#65000B
ΔE00 6.57
Wine
#722F37
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D1F23 #1F7D79
analogous
#7D1F52 #7D1F23 #7D4A1F
triadic
#7D1F23 #237D1F #1F237D
tetradic
#7D1F23 #527D1F #1F7D79 #4A1F7D
square
#7D1F23 #527D1F #1F7D79 #4A1F7D
split-complementary
#7D1F23 #1F7D4A #1F527D
monochromatic
#1B0708 #4C1315 #7D1F23 #AE2B31 #D1454B
Accessibility & contrast
On white
10.04
#7D1F23 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#7D1F23 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7D1F23
10.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D1F23 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D1F23 | 1.00 | 10.04 | 2.09 | 10.04 |
| #FFFFFF | 10.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A3522
Deuteranopia (green-blind)
#514920
Tritanopia (blue-blind)
#8A0021
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7d1f23; /* rgb */ color: rgb(125, 31, 35); /* oklch */ color: oklch(39.5% 0.128 23.2);
Tailwind
colors: {
custom: {
50: '#aa625e',
500: '#7d1f23',
950: '#000000',
},
}SCSS
$custom: #7d1f23; $custom-light: #aa625e; $custom-dark: #000000;
JSON
{
"hex": "#7d1f23",
"rgb": {
"r": 125,
"g": 31,
"b": 35
},
"hsl": {
"h": 357.447,
"s": 60.256,
"l": 30.588
},
"oklch": {
"l": 0.39502,
"c": 0.1283,
"h": 23.2
},
"luminance": 0.05461
}Semantic roles & 50–950 ramp
primary
#7D1F23
secondary
#48B0AC
accent
#E3DD44
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110504
muted
#807A79