#7D171C#7D171C
#7D171C is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.6% C 0.136 H 24.2°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).
Color values
| HEX | #7D171C |
|---|---|
| RGB | rgb(125, 23, 28) |
| HSL | hsl(357, 69%, 29%) |
| HSV | hsv(357, 82%, 49%) |
| CMYK | cmyk(0%, 81.6%, 77.6%, 51%) |
| CIE-LAB | lab(26.90, 42.77, 24.96) |
| CIE-LCH | lch(26.90, 49.52, 30.26°) |
| OKLab | oklab(38.64% 0.1242 0.0559) |
| OKLCH | oklch(38.64% 0.136 24.2) |
| XYZ | xyz(8.9745, 5.0580, 1.6021) |
| Luminance | 0.0506 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.90
Crimson (survey)
#8C000F
ΔE00 4.53
Wine Red
#7B0323
ΔE00 5.20
Blood
#770001
ΔE00 5.36
Rosewood
#65000B
ΔE00 5.57
Reddy Brown
#6E1005
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D171C #177D78
analogous
#7D174F #7D171C #7D4517
triadic
#7D171C #1C7D17 #171C7D
tetradic
#7D171C #4F7D17 #177D78 #45177D
square
#7D171C #4F7D17 #177D78 #45177D
split-complementary
#7D171C #177D45 #174F7D
monochromatic
#1A0506 #490D10 #7D171C #B12128 #DA353D
Accessibility & contrast
On white
10.44
#7D171C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#7D171C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7D171C
10.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D171C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D171C | 1.00 | 10.44 | 2.01 | 10.44 |
| #FFFFFF | 10.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#37321B
Deuteranopia (green-blind)
#504718
Tritanopia (blue-blind)
#8A001A
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7d171c; /* rgb */ color: rgb(125, 23, 28); /* oklch */ color: oklch(38.6% 0.136 24.2);
Tailwind
colors: {
custom: {
50: '#aa5f58',
500: '#7d171c',
950: '#000000',
},
}SCSS
$custom: #7d171c; $custom-light: #aa5f58; $custom-dark: #000000;
JSON
{
"hex": "#7d171c",
"rgb": {
"r": 125,
"g": 23,
"b": 28
},
"hsl": {
"h": 357.059,
"s": 68.919,
"l": 29.02
},
"oklch": {
"l": 0.3864,
"c": 0.13621,
"h": 24.2
},
"luminance": 0.05057
}Semantic roles & 50–950 ramp
primary
#7D171C
secondary
#3EB2AC
accent
#ECE33C
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978