#7D271D#7D271D
#7D271D is a dark, vivid red. Relative luminance 0.059; OKLCH L 40.3% C 0.121 H 29.9°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).
Color values
| HEX | #7D271D |
|---|---|
| RGB | rgb(125, 39, 29) |
| HSL | hsl(6, 62%, 30%) |
| HSV | hsv(6, 77%, 49%) |
| CMYK | cmyk(0%, 68.8%, 76.8%, 51%) |
| CIE-LAB | lab(29.16, 36.61, 26.86) |
| CIE-LCH | lch(29.16, 45.41, 36.27°) |
| OKLab | oklab(40.33% 0.105 0.0603) |
| OKLCH | oklch(40.33% 0.121 29.9) |
| XYZ | xyz(9.4058, 5.9011, 1.8059) |
| Luminance | 0.0590 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Indian Red
#850E04
ΔE00 5.07
Crimson (survey)
#8C000F
ΔE00 5.12
Red Brown
#8B2E16
ΔE00 5.15
Reddy Brown
#6E1005
ΔE00 5.28
Maroon
#800000
ΔE00 5.54
Blood
#770001
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D271D #1D737D
analogous
#7D1D43 #7D271D #7D571D
triadic
#7D271D #1D7D27 #271D7D
tetradic
#7D271D #437D1D #1D737D #571D7D
square
#7D271D #437D1D #1D737D #571D7D
split-complementary
#7D271D #1D7D57 #1D437D
monochromatic
#1A0806 #4B1811 #7D271D #AF3629 #D35141
Accessibility & contrast
On white
9.63
#7D271D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#7D271D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7D271D
9.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D271D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D271D | 1.00 | 9.63 | 2.18 | 9.63 |
| #FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F391B
Deuteranopia (green-blind)
#554C1A
Tritanopia (blue-blind)
#8A0F25
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7d271d; /* rgb */ color: rgb(125, 39, 29); /* oklch */ color: oklch(40.3% 0.121 29.9);
Tailwind
colors: {
custom: {
50: '#aa6659',
500: '#7d271d',
950: '#000000',
},
}SCSS
$custom: #7d271d; $custom-light: #aa6659; $custom-dark: #000000;
JSON
{
"hex": "#7d271d",
"rgb": {
"r": 125,
"g": 39,
"b": 29
},
"hsl": {
"h": 6.25,
"s": 62.338,
"l": 30.196
},
"oklch": {
"l": 0.40333,
"c": 0.12111,
"h": 29.9
},
"luminance": 0.059
}Semantic roles & 50–950 ramp
primary
#7D271D
secondary
#45A5B1
accent
#D4E542
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78