#7A2A17#7A2A17
#7A2A17 is a dark, moderate red. Relative luminance 0.059; OKLCH L 40.1% C 0.116 H 34.6°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).
Color values
| HEX | #7A2A17 |
|---|---|
| RGB | rgb(122, 42, 23) |
| HSL | hsl(12, 68%, 28%) |
| HSV | hsv(12, 81%, 48%) |
| CMYK | cmyk(0%, 65.6%, 81.1%, 52.2%) |
| CIE-LAB | lab(29.05, 33.81, 30.08) |
| CIE-LCH | lch(29.05, 45.25, 41.67°) |
| OKLab | oklab(40.12% 0.0954 0.0659) |
| OKLCH | oklch(40.12% 0.116 34.6) |
| XYZ | xyz(9.0096, 5.8567, 1.4665) |
| Luminance | 0.0585 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish Brown
#7F2B0A
ΔE00 3.77
Red Brown
#8B2E16
ΔE00 3.80
Indian Red
#850E04
ΔE00 4.90
Chestnut
#742802
ΔE00 5.03
Reddy Brown
#6E1005
ΔE00 5.25
Brick Red
#8F1402
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A2A17 #17677A
analogous
#7A1735 #7A2A17 #7A5B17
triadic
#7A2A17 #177A2A #2A177A
tetradic
#7A2A17 #357A17 #17677A #5B177A
square
#7A2A17 #357A17 #17677A #5B177A
split-complementary
#7A2A17 #177A5B #17357A
monochromatic
#1A0905 #47180D #7A2A17 #AD3C21 #D95333
Accessibility & contrast
On white
9.67
#7A2A17 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#7A2A17 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A2A17
9.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A2A17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A2A17 | 1.00 | 9.67 | 2.17 | 9.67 |
| #FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#413914
Deuteranopia (green-blind)
#544B14
Tritanopia (blue-blind)
#871526
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7a2a17; /* rgb */ color: rgb(122, 42, 23); /* oklch */ color: oklch(40.1% 0.116 34.6);
Tailwind
colors: {
custom: {
50: '#a76755',
500: '#7a2a17',
950: '#000000',
},
}SCSS
$custom: #7a2a17; $custom-light: #a76755; $custom-dark: #000000;
JSON
{
"hex": "#7a2a17",
"rgb": {
"r": 122,
"g": 42,
"b": 23
},
"hsl": {
"h": 11.515,
"s": 68.276,
"l": 28.431
},
"oklch": {
"l": 0.40119,
"c": 0.11591,
"h": 34.6
},
"luminance": 0.05855
}Semantic roles & 50–950 ramp
primary
#7A2A17
secondary
#3E99AF
accent
#CAEB3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78