#7F271C#7F271C
#7F271C is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.7% C 0.124 H 30.3°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).
Color values
| HEX | #7F271C |
|---|---|
| RGB | rgb(127, 39, 28) |
| HSL | hsl(7, 64%, 30%) |
| HSV | hsv(7, 78%, 50%) |
| CMYK | cmyk(0%, 69.3%, 78%, 50.2%) |
| CIE-LAB | lab(29.53, 37.30, 27.98) |
| CIE-LCH | lch(29.53, 46.63, 36.87°) |
| OKLab | oklab(40.68% 0.1067 0.0624) |
| OKLCH | oklch(40.68% 0.124 30.3) |
| XYZ | xyz(9.6886, 6.0483, 1.7557) |
| Luminance | 0.0605 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 4.61
Indian Red
#850E04
ΔE00 4.67
Crimson (survey)
#8C000F
ΔE00 4.88
Maroon
#800000
ΔE00 5.30
Dark Red
#840000
ΔE00 5.34
Reddy Brown
#6E1005
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F271C #1C747F
analogous
#7F1C42 #7F271C #7F591C
triadic
#7F271C #1C7F27 #271C7F
tetradic
#7F271C #427F1C #1C747F #591C7F
square
#7F271C #427F1C #1C747F #591C7F
split-complementary
#7F271C #1C7F59 #1C427F
monochromatic
#1B0806 #4D1811 #7F271C #B13627 #D55140
Accessibility & contrast
On white
9.50
#7F271C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#7F271C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F271C
9.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F271C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F271C | 1.00 | 9.50 | 2.21 | 9.50 |
| #FFFFFF | 9.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#40391A
Deuteranopia (green-blind)
#564D19
Tritanopia (blue-blind)
#8C0D25
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7f271c; /* rgb */ color: rgb(127, 39, 28); /* oklch */ color: oklch(40.7% 0.124 30.3);
Tailwind
colors: {
custom: {
50: '#ab6659',
500: '#7f271c',
950: '#000000',
},
}SCSS
$custom: #7f271c; $custom-light: #ab6659; $custom-dark: #000000;
JSON
{
"hex": "#7f271c",
"rgb": {
"r": 127,
"g": 39,
"b": 28
},
"hsl": {
"h": 6.667,
"s": 63.871,
"l": 30.392
},
"oklch": {
"l": 0.4068,
"c": 0.1236,
"h": 30.3
},
"luminance": 0.06047
}Semantic roles & 50–950 ramp
primary
#7F271C
secondary
#44A6B3
accent
#D4E741
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78