#7F311C#7F311C
#7F311C is a dark, moderate red. Relative luminance 0.068; OKLCH L 42.0% C 0.113 H 35.9°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).
Color values
| HEX | #7F311C |
|---|---|
| RGB | rgb(127, 49, 28) |
| HSL | hsl(13, 64%, 30%) |
| HSV | hsv(13, 78%, 50%) |
| CMYK | cmyk(0%, 61.4%, 78%, 50.2%) |
| CIE-LAB | lab(31.33, 32.50, 29.92) |
| CIE-LCH | lch(31.33, 44.18, 42.63°) |
| OKLab | oklab(42.04% 0.0918 0.0665) |
| OKLCH | oklch(42.04% 0.113 35.9) |
| XYZ | xyz(10.0614, 6.7939, 1.8799) |
| Luminance | 0.0679 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 2.85
Reddish Brown
#7F2B0A
ΔE00 3.59
Chestnut
#742802
ΔE00 5.38
Brown Red
#922B05
ΔE00 5.70
Indian Red
#850E04
ΔE00 6.01
Brick Red
#8F1402
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F311C #1C6A7F
analogous
#7F1C39 #7F311C #7F621C
triadic
#7F311C #1C7F31 #311C7F
tetradic
#7F311C #397F1C #1C6A7F #621C7F
square
#7F311C #397F1C #1C6A7F #621C7F
split-complementary
#7F311C #1C7F62 #1C397F
monochromatic
#1B0A06 #4D1E11 #7F311C #B14427 #D56040
Accessibility & contrast
On white
8.90
#7F311C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#7F311C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F311C
8.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F311C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F311C | 1.00 | 8.90 | 2.36 | 8.90 |
| #FFFFFF | 8.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#473F19
Deuteranopia (green-blind)
#5A501A
Tritanopia (blue-blind)
#8C1F2D
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #7f311c; /* rgb */ color: rgb(127, 49, 28); /* oklch */ color: oklch(42.0% 0.113 35.9);
Tailwind
colors: {
custom: {
50: '#ab6c59',
500: '#7f311c',
950: '#000000',
},
}SCSS
$custom: #7f311c; $custom-light: #ab6c59; $custom-dark: #000000;
JSON
{
"hex": "#7f311c",
"rgb": {
"r": 127,
"g": 49,
"b": 28
},
"hsl": {
"h": 12.727,
"s": 63.871,
"l": 30.392
},
"oklch": {
"l": 0.42035,
"c": 0.1134,
"h": 35.9
},
"luminance": 0.06792
}Semantic roles & 50–950 ramp
primary
#7F311C
secondary
#449BB3
accent
#C4E741
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78