#7B402F#7B402F
#7B402F is a dark, moderate red. Relative luminance 0.081; OKLCH L 44.1% C 0.087 H 36.9°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #7B402F |
|---|---|
| RGB | rgb(123, 64, 47) |
| HSL | hsl(13, 45%, 33%) |
| HSV | hsv(13, 62%, 48%) |
| CMYK | cmyk(0%, 48%, 61.8%, 51.8%) |
| CIE-LAB | lab(34.16, 23.84, 21.72) |
| CIE-LCH | lch(34.16, 32.25, 42.35°) |
| OKLab | oklab(44.14% 0.0692 0.052) |
| OKLCH | oklch(44.14% 0.087 36.9) |
| XYZ | xyz(10.5157, 8.0841, 3.6954) |
| Luminance | 0.0808 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 6.98
Reddish Brown
#7F2B0A
ΔE00 7.78
Brownish Red
#9E3623
ΔE00 8.32
Brick
#A03623
ΔE00 8.66
Chestnut
#742802
ΔE00 8.90
Rust Brown
#8B3103
ΔE00 9.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B402F #2F6A7B
analogous
#7B2F44 #7B402F #7B662F
triadic
#7B402F #2F7B40 #402F7B
tetradic
#7B402F #447B2F #2F6A7B #662F7B
square
#7B402F #447B2F #2F6A7B #662F7B
split-complementary
#7B402F #2F7B66 #2F447B
monochromatic
#22120D #4F291E #7B402F #A75740 #C37762
Accessibility & contrast
On white
8.03
#7B402F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#7B402F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B402F
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B402F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B402F | 1.00 | 8.03 | 2.62 | 8.03 |
| #FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F492D
Deuteranopia (green-blind)
#5D552E
Tritanopia (blue-blind)
#86363C
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #7b402f; /* rgb */ color: rgb(123, 64, 47); /* oklch */ color: oklch(44.1% 0.087 36.9);
Tailwind
colors: {
custom: {
50: '#a57668',
500: '#7b402f',
950: '#000000',
},
}SCSS
$custom: #7b402f; $custom-light: #a57668; $custom-dark: #000000;
JSON
{
"hex": "#7b402f",
"rgb": {
"r": 123,
"g": 64,
"b": 47
},
"hsl": {
"h": 13.421,
"s": 44.706,
"l": 33.333
},
"oklch": {
"l": 0.44138,
"c": 0.08657,
"h": 36.9
},
"luminance": 0.08083
}Semantic roles & 50–950 ramp
primary
#7B402F
secondary
#5C98AA
accent
#B8D453
background
#FAF7F6
surface
#F4EDEB
border
#CEC8C6
text
#100806
muted
#7F7B7A