#7F261A#7F261A
#7F261A is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.5% C 0.125 H 30.8°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).
Color values
| HEX | #7F261A |
|---|---|
| RGB | rgb(127, 38, 26) |
| HSL | hsl(7, 66%, 30%) |
| HSV | hsv(7, 80%, 50%) |
| CMYK | cmyk(0%, 70.1%, 79.5%, 50.2%) |
| CIE-LAB | lab(29.35, 37.66, 28.96) |
| CIE-LCH | lch(29.35, 47.51, 37.57°) |
| OKLab | oklab(40.53% 0.1074 0.0639) |
| OKLCH | oklch(40.53% 0.125 30.8) |
| XYZ | xyz(9.6330, 5.9743, 1.6230) |
| Luminance | 0.0597 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Indian Red
#850E04
ΔE00 4.26
Red Brown
#8B2E16
ΔE00 4.34
Crimson (survey)
#8C000F
ΔE00 4.74
Maroon
#800000
ΔE00 4.94
Dark Red
#840000
ΔE00 4.96
Reddy Brown
#6E1005
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F261A #1A737F
analogous
#7F1A40 #7F261A #7F591A
triadic
#7F261A #1A7F26 #261A7F
tetradic
#7F261A #407F1A #1A737F #591A7F
square
#7F261A #407F1A #1A737F #591A7F
split-complementary
#7F261A #1A7F59 #1A407F
monochromatic
#190805 #4C1710 #7F261A #B23524 #D74F3C
Accessibility & contrast
On white
9.57
#7F261A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#7F261A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F261A
9.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F261A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F261A | 1.00 | 9.57 | 2.19 | 9.57 |
| #FFFFFF | 9.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#403918
Deuteranopia (green-blind)
#564C17
Tritanopia (blue-blind)
#8C0A24
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7f261a; /* rgb */ color: rgb(127, 38, 26); /* oklch */ color: oklch(40.5% 0.125 30.8);
Tailwind
colors: {
custom: {
50: '#ab6657',
500: '#7f261a',
950: '#000000',
},
}SCSS
$custom: #7f261a; $custom-light: #ab6657; $custom-dark: #000000;
JSON
{
"hex": "#7f261a",
"rgb": {
"r": 127,
"g": 38,
"b": 26
},
"hsl": {
"h": 7.129,
"s": 66.013,
"l": 30
},
"oklch": {
"l": 0.40532,
"c": 0.125,
"h": 30.8
},
"luminance": 0.05973
}Semantic roles & 50–950 ramp
primary
#7F261A
secondary
#42A6B3
accent
#D5E93F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78