#7D1F28#7D1F28
#7D1F28 is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.6% C 0.128 H 20.2°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).
Color values
| HEX | #7D1F28 |
|---|---|
| RGB | rgb(125, 31, 40) |
| HSL | hsl(354, 60%, 31%) |
| HSV | hsv(354, 75%, 49%) |
| CMYK | cmyk(0%, 75.2%, 68%, 51%) |
| CIE-LAB | lab(28.10, 40.58, 18.62) |
| CIE-LCH | lch(28.10, 44.64, 24.65°) |
| OKLab | oklab(39.59% 0.12 0.0442) |
| OKLCH | oklch(39.59% 0.128 20.2) |
| XYZ | xyz(9.3314, 5.4945, 2.5763) |
| Luminance | 0.0549 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.24
Wine Red
#7B0323
ΔE00 3.55
Wine
#722F37
ΔE00 5.59
Claret
#680018
ΔE00 5.83
Bordeaux
#7B002C
ΔE00 6.06
Red Wine
#8C0034
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D1F28 #1F7D74
analogous
#7D1F57 #7D1F28 #7D451F
triadic
#7D1F28 #287D1F #1F287D
tetradic
#7D1F28 #577D1F #1F7D74 #451F7D
square
#7D1F28 #577D1F #1F7D74 #451F7D
split-complementary
#7D1F28 #1F7D45 #1F577D
monochromatic
#1B0709 #4C1318 #7D1F28 #AE2B38 #D14553
Accessibility & contrast
On white
10.01
#7D1F28 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#7D1F28 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7D1F28
10.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D1F28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D1F28 | 1.00 | 10.01 | 2.10 | 10.01 |
| #FFFFFF | 10.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#393628
Deuteranopia (green-blind)
#514A25
Tritanopia (blue-blind)
#8A0023
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7d1f28; /* rgb */ color: rgb(125, 31, 40); /* oklch */ color: oklch(39.6% 0.128 20.2);
Tailwind
colors: {
custom: {
50: '#a96261',
500: '#7d1f28',
950: '#000000',
},
}SCSS
$custom: #7d1f28; $custom-light: #a96261; $custom-dark: #000000;
JSON
{
"hex": "#7d1f28",
"rgb": {
"r": 125,
"g": 31,
"b": 40
},
"hsl": {
"h": 354.255,
"s": 60.256,
"l": 30.588
},
"oklch": {
"l": 0.39593,
"c": 0.12789,
"h": 20.2
},
"luminance": 0.05493
}Semantic roles & 50–950 ramp
primary
#7D1F28
secondary
#48B0A6
accent
#E3D444
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110605
muted
#807A79