#7C172F#7C172F
#7C172F is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.8% C 0.135 H 13.2°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).
Color values
| HEX | #7C172F |
|---|---|
| RGB | rgb(124, 23, 47) |
| HSL | hsl(346, 69%, 29%) |
| HSV | hsv(346, 81%, 49%) |
| CMYK | cmyk(0%, 81.5%, 62.1%, 51.4%) |
| CIE-LAB | lab(27.03, 43.53, 12.51) |
| CIE-LCH | lch(27.03, 45.30, 16.04°) |
| OKLab | oklab(38.81% 0.1311 0.0308) |
| OKLCH | oklch(38.81% 0.135 13.2) |
| XYZ | xyz(9.1326, 5.1045, 3.1932) |
| Luminance | 0.0510 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Bordeaux
#7B002C
ΔE00 2.37
Wine Red
#7B0323
ΔE00 3.23
Red Wine
#8C0034
ΔE00 3.48
Burgundy
#800020
ΔE00 4.60
Wine
#722F37
ΔE00 5.22
Maroon (survey)
#650021
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C172F #177C64
analogous
#7C1762 #7C172F #7C3217
triadic
#7C172F #2F7C17 #172F7C
tetradic
#7C172F #627C17 #177C64 #32177C
square
#7C172F #627C17 #177C64 #32177C
split-complementary
#7C172F #177C32 #17627C
monochromatic
#1A050A #480D1B #7C172F #B02143 #D9345B
Accessibility & contrast
On white
10.39
#7C172F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#7C172F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C172F
10.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C172F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C172F | 1.00 | 10.39 | 2.02 | 10.39 |
| #FFFFFF | 10.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#34332F
Deuteranopia (green-blind)
#4D472C
Tritanopia (blue-blind)
#880021
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7c172f; /* rgb */ color: rgb(124, 23, 47); /* oklch */ color: oklch(38.8% 0.135 13.2);
Tailwind
colors: {
custom: {
50: '#a85f67',
500: '#7c172f',
950: '#000000',
},
}SCSS
$custom: #7c172f; $custom-light: #a85f67; $custom-dark: #000000;
JSON
{
"hex": "#7c172f",
"rgb": {
"r": 124,
"g": 23,
"b": 47
},
"hsl": {
"h": 345.743,
"s": 68.707,
"l": 28.824
},
"oklch": {
"l": 0.38809,
"c": 0.1347,
"h": 13.2
},
"luminance": 0.05103
}Semantic roles & 50–950 ramp
primary
#7C172F
secondary
#3EB196
accent
#ECC23C
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A