#7F261C#7F261C
#7F261C is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.6% C 0.125 H 29.8°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).
Color values
| HEX | #7F261C |
|---|---|
| RGB | rgb(127, 38, 28) |
| HSL | hsl(6, 64%, 30%) |
| HSV | hsv(6, 78%, 50%) |
| CMYK | cmyk(0%, 70.1%, 78%, 50.2%) |
| CIE-LAB | lab(29.37, 37.74, 27.80) |
| CIE-LCH | lch(29.37, 46.88, 36.38°) |
| OKLab | oklab(40.56% 0.1081 0.062) |
| OKLCH | oklch(40.56% 0.125 29.8) |
| XYZ | xyz(9.6562, 5.9835, 1.7449) |
| Luminance | 0.0598 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Indian Red
#850E04
ΔE00 4.67
Crimson (survey)
#8C000F
ΔE00 4.70
Red Brown
#8B2E16
ΔE00 4.86
Maroon
#800000
ΔE00 5.23
Dark Red
#840000
ΔE00 5.28
Reddy Brown
#6E1005
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F261C #1C757F
analogous
#7F1C43 #7F261C #7F581C
triadic
#7F261C #1C7F26 #261C7F
tetradic
#7F261C #437F1C #1C757F #581C7F
square
#7F261C #437F1C #1C757F #581C7F
split-complementary
#7F261C #1C7F58 #1C437F
monochromatic
#1B0806 #4D1711 #7F261C #B13527 #D54F40
Accessibility & contrast
On white
9.56
#7F261C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#7F261C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F261C
9.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F261C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F261C | 1.00 | 9.56 | 2.20 | 9.56 |
| #FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F391A
Deuteranopia (green-blind)
#564C19
Tritanopia (blue-blind)
#8C0A24
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7f261c; /* rgb */ color: rgb(127, 38, 28); /* oklch */ color: oklch(40.6% 0.125 29.8);
Tailwind
colors: {
custom: {
50: '#ab6659',
500: '#7f261c',
950: '#000000',
},
}SCSS
$custom: #7f261c; $custom-light: #ab6659; $custom-dark: #000000;
JSON
{
"hex": "#7f261c",
"rgb": {
"r": 127,
"g": 38,
"b": 28
},
"hsl": {
"h": 6.061,
"s": 63.871,
"l": 30.392
},
"oklch": {
"l": 0.40557,
"c": 0.12461,
"h": 29.8
},
"luminance": 0.05982
}Semantic roles & 50–950 ramp
primary
#7F261C
secondary
#44A7B3
accent
#D6E741
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78