#7F261B#7F261B
#7F261B is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.5% C 0.125 H 30.3°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).
Color values
| HEX | #7F261B |
|---|---|
| RGB | rgb(127, 38, 27) |
| HSL | hsl(7, 65%, 30%) |
| HSV | hsv(7, 79%, 50%) |
| CMYK | cmyk(0%, 70.1%, 78.7%, 50.2%) |
| CIE-LAB | lab(29.36, 37.70, 28.39) |
| CIE-LCH | lch(29.36, 47.19, 36.98°) |
| OKLab | oklab(40.54% 0.1078 0.063) |
| OKLCH | oklch(40.54% 0.125 30.3) |
| XYZ | xyz(9.6444, 5.9788, 1.6829) |
| Luminance | 0.0598 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Indian Red
#850E04
ΔE00 4.45
Red Brown
#8B2E16
ΔE00 4.59
Crimson (survey)
#8C000F
ΔE00 4.71
Maroon
#800000
ΔE00 5.07
Dark Red
#840000
ΔE00 5.11
Reddy Brown
#6E1005
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F261B #1B747F
analogous
#7F1B42 #7F261B #7F581B
triadic
#7F261B #1B7F26 #261B7F
tetradic
#7F261B #427F1B #1B747F #581B7F
square
#7F261B #427F1B #1B747F #581B7F
split-complementary
#7F261B #1B7F58 #1B427F
monochromatic
#1A0806 #4D1710 #7F261B #B13526 #D64F3E
Accessibility & contrast
On white
9.57
#7F261B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#7F261B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F261B
9.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F261B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F261B | 1.00 | 9.57 | 2.20 | 9.57 |
| #FFFFFF | 9.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F3919
Deuteranopia (green-blind)
#564C18
Tritanopia (blue-blind)
#8C0A24
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7f261b; /* rgb */ color: rgb(127, 38, 27); /* oklch */ color: oklch(40.5% 0.125 30.3);
Tailwind
colors: {
custom: {
50: '#ab6658',
500: '#7f261b',
950: '#000000',
},
}SCSS
$custom: #7f261b; $custom-light: #ab6658; $custom-dark: #000000;
JSON
{
"hex": "#7f261b",
"rgb": {
"r": 127,
"g": 38,
"b": 27
},
"hsl": {
"h": 6.6,
"s": 64.935,
"l": 30.196
},
"oklch": {
"l": 0.40545,
"c": 0.1248,
"h": 30.3
},
"luminance": 0.05977
}Semantic roles & 50–950 ramp
primary
#7F261B
secondary
#43A6B3
accent
#D5E840
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78