#7F2718#7F2718
#7F2718 is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.6% C 0.124 H 32.1°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2718 |
|---|---|
| RGB | rgb(127, 39, 24) |
| HSL | hsl(9, 68%, 30%) |
| HSV | hsv(9, 81%, 50%) |
| CMYK | cmyk(0%, 69.3%, 81.1%, 50.2%) |
| CIE-LAB | lab(29.49, 37.13, 30.27) |
| CIE-LCH | lch(29.49, 47.91, 39.19°) |
| OKLab | oklab(40.63% 0.1054 0.0662) |
| OKLCH | oklch(40.63% 0.124 32.1) |
| XYZ | xyz(9.6439, 6.0304, 1.5202) |
| Luminance | 0.0603 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 3.65
Indian Red
#850E04
ΔE00 4.02
Reddish Brown
#7F2B0A
ΔE00 4.76
Dark Red
#840000
ΔE00 4.87
Maroon
#800000
ΔE00 4.90
Brick Red
#8F1402
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2718 #18707F
analogous
#7F183D #7F2718 #7F5B18
triadic
#7F2718 #187F27 #27187F
tetradic
#7F2718 #3D7F18 #18707F #5B187F
square
#7F2718 #3D7F18 #18707F #5B187F
split-complementary
#7F2718 #187F5B #183D7F
monochromatic
#1A0805 #4C170E #7F2718 #B23722 #D95038
Accessibility & contrast
On white
9.52
#7F2718 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#7F2718 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2718
9.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2718 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2718 | 1.00 | 9.52 | 2.21 | 9.52 |
| #FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#403916
Deuteranopia (green-blind)
#564D14
Tritanopia (blue-blind)
#8C0C24
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7f2718; /* rgb */ color: rgb(127, 39, 24); /* oklch */ color: oklch(40.6% 0.124 32.1);
Tailwind
colors: {
custom: {
50: '#ac6656',
500: '#7f2718',
950: '#000000',
},
}SCSS
$custom: #7f2718; $custom-light: #ac6656; $custom-dark: #000000;
JSON
{
"hex": "#7f2718",
"rgb": {
"r": 127,
"g": 39,
"b": 24
},
"hsl": {
"h": 8.738,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.40632,
"c": 0.12441,
"h": 32.1
},
"luminance": 0.06029
}Semantic roles & 50–950 ramp
primary
#7F2718
secondary
#3FA2B3
accent
#D2EB3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78