#7F2E1F#7F2E1F
#7F2E1F is a dark, moderate red. Relative luminance 0.066; OKLCH L 41.6% C 0.116 H 32.5°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2E1F |
|---|---|
| RGB | rgb(127, 46, 31) |
| HSL | hsl(9, 61%, 31%) |
| HSV | hsv(9, 76%, 50%) |
| CMYK | cmyk(0%, 63.8%, 75.6%, 50.2%) |
| CIE-LAB | lab(30.80, 34.15, 27.58) |
| CIE-LCH | lch(30.80, 43.90, 38.93°) |
| OKLab | oklab(41.64% 0.0975 0.0622) |
| OKLCH | oklch(41.64% 0.116 32.5) |
| XYZ | xyz(9.9778, 6.5663, 2.0381) |
| Luminance | 0.0657 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 3.79
Reddish Brown
#7F2B0A
ΔE00 5.23
Indian Red
#850E04
ΔE00 5.62
Brick Red
#8F1402
ΔE00 6.17
Crimson (survey)
#8C000F
ΔE00 6.33
Reddy Brown
#6E1005
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2E1F #1F707F
analogous
#7F1F40 #7F2E1F #7F5E1F
triadic
#7F2E1F #1F7F2E #2E1F7F
tetradic
#7F2E1F #407F1F #1F707F #5E1F7F
square
#7F2E1F #407F1F #1F707F #5E1F7F
split-complementary
#7F2E1F #1F7F5E #1F407F
monochromatic
#1D0A07 #4E1C13 #7F2E1F #B0402B #D25C46
Accessibility & contrast
On white
9.08
#7F2E1F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#7F2E1F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2E1F
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2E1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2E1F | 1.00 | 9.08 | 2.31 | 9.08 |
| #FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#443D1D
Deuteranopia (green-blind)
#584F1C
Tritanopia (blue-blind)
#8C1B2B
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #7f2e1f; /* rgb */ color: rgb(127, 46, 31); /* oklch */ color: oklch(41.6% 0.116 32.5);
Tailwind
colors: {
custom: {
50: '#ab6a5b',
500: '#7f2e1f',
950: '#000000',
},
}SCSS
$custom: #7f2e1f; $custom-light: #ab6a5b; $custom-dark: #000000;
JSON
{
"hex": "#7f2e1f",
"rgb": {
"r": 127,
"g": 46,
"b": 31
},
"hsl": {
"h": 9.375,
"s": 60.759,
"l": 30.98
},
"oklch": {
"l": 0.41643,
"c": 0.11571,
"h": 32.5
},
"luminance": 0.06565
}Semantic roles & 50–950 ramp
primary
#7F2E1F
secondary
#48A1B2
accent
#CBE444
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110704
muted
#807A79