#7F261F#7F261F
#7F261F is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.6% C 0.124 H 28.3°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).
Color values
| HEX | #7F261F |
|---|---|
| RGB | rgb(127, 38, 31) |
| HSL | hsl(4, 61%, 31%) |
| HSV | hsv(4, 76%, 50%) |
| CMYK | cmyk(0%, 70.1%, 75.6%, 50.2%) |
| CIE-LAB | lab(29.41, 37.88, 26.02) |
| CIE-LCH | lch(29.41, 45.96, 34.49°) |
| OKLab | oklab(40.6% 0.1092 0.0589) |
| OKLCH | oklch(40.6% 0.124 28.3) |
| XYZ | xyz(9.6939, 5.9986, 1.9435) |
| Luminance | 0.0600 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 4.85
Indian Red
#850E04
ΔE00 5.43
Red Brown
#8B2E16
ΔE00 5.74
Reddy Brown
#6E1005
ΔE00 5.74
Maroon
#800000
ΔE00 5.81
Blood
#770001
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F261F #1F787F
analogous
#7F1F48 #7F261F #7F561F
triadic
#7F261F #1F7F26 #261F7F
tetradic
#7F261F #487F1F #1F787F #561F7F
square
#7F261F #487F1F #1F787F #561F7F
split-complementary
#7F261F #1F7F56 #1F487F
monochromatic
#1D0907 #4E1713 #7F261F #B0352B #D25146
Accessibility & contrast
On white
9.55
#7F261F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#7F261F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F261F
9.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F261F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F261F | 1.00 | 9.55 | 2.20 | 9.55 |
| #FFFFFF | 9.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F391E
Deuteranopia (green-blind)
#554C1C
Tritanopia (blue-blind)
#8C0B25
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7f261f; /* rgb */ color: rgb(127, 38, 31); /* oklch */ color: oklch(40.6% 0.124 28.3);
Tailwind
colors: {
custom: {
50: '#ab665b',
500: '#7f261f',
950: '#000000',
},
}SCSS
$custom: #7f261f; $custom-light: #ab665b; $custom-dark: #000000;
JSON
{
"hex": "#7f261f",
"rgb": {
"r": 127,
"g": 38,
"b": 31
},
"hsl": {
"h": 4.375,
"s": 60.759,
"l": 30.98
},
"oklch": {
"l": 0.40598,
"c": 0.12405,
"h": 28.3
},
"luminance": 0.05997
}Semantic roles & 50–950 ramp
primary
#7F261F
secondary
#48AAB2
accent
#D8E444
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79