#7D170F#7D170F
#7D170F is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.5% C 0.138 H 29.5°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).
Color values
| HEX | #7D170F |
|---|---|
| RGB | rgb(125, 23, 15) |
| HSL | hsl(4, 79%, 27%) |
| HSV | hsv(4, 88%, 49%) |
| CMYK | cmyk(0%, 81.6%, 88%, 51%) |
| CIE-LAB | lab(26.76, 42.33, 32.51) |
| CIE-LCH | lch(26.76, 53.37, 37.53°) |
| OKLab | oklab(38.49% 0.12 0.0678) |
| OKLCH | oklch(38.49% 0.138 29.5) |
| XYZ | xyz(8.8512, 5.0087, 0.9526) |
| Luminance | 0.0501 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Maroon
#800000
ΔE00 2.45
Indian Red
#850E04
ΔE00 2.50
Blood
#770001
ΔE00 2.70
Dark Red
#840000
ΔE00 2.73
Reddy Brown
#6E1005
ΔE00 3.21
Crimson (survey)
#8C000F
ΔE00 3.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D170F #0F757D
analogous
#7D0F3E #7D170F #7D4E0F
triadic
#7D170F #0F7D17 #170F7D
tetradic
#7D170F #3E7D0F #0F757D #4E0F7D
square
#7D170F #3E7D0F #0F757D #4E0F7D
split-complementary
#7D170F #0F7D4E #0F3E7D
monochromatic
#1B0503 #460D08 #7D170F #B42116 #E43022
Accessibility & contrast
On white
10.49
#7D170F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#7D170F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7D170F
10.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D170F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D170F | 1.00 | 10.49 | 2.00 | 10.49 |
| #FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#38310C
Deuteranopia (green-blind)
#514708
Tritanopia (blue-blind)
#8A0017
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #7d170f; /* rgb */ color: rgb(125, 23, 15); /* oklch */ color: oklch(38.5% 0.138 29.5);
Tailwind
colors: {
custom: {
50: '#ab5f4f',
500: '#7d170f',
950: '#000000',
},
}SCSS
$custom: #7d170f; $custom-light: #ab5f4f; $custom-dark: #000000;
JSON
{
"hex": "#7d170f",
"rgb": {
"r": 125,
"g": 23,
"b": 15
},
"hsl": {
"h": 4.364,
"s": 78.571,
"l": 27.451
},
"oklch": {
"l": 0.38491,
"c": 0.13783,
"h": 29.5
},
"luminance": 0.05007
}Semantic roles & 50–950 ramp
primary
#7D170F
secondary
#34AAB4
accent
#E7F533
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978