#7F2127#7F2127
#7F2127 is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.2% C 0.128 H 21.8°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2127 |
|---|---|
| RGB | rgb(127, 33, 39) |
| HSL | hsl(356, 59%, 31%) |
| HSV | hsv(356, 74%, 50%) |
| CMYK | cmyk(0%, 74%, 69.3%, 50.2%) |
| CIE-LAB | lab(28.77, 40.41, 20.19) |
| CIE-LCH | lch(28.77, 45.17, 26.55°) |
| OKLab | oklab(40.16% 0.119 0.0475) |
| OKLCH | oklch(40.16% 0.128 21.8) |
| XYZ | xyz(9.6635, 5.7476, 2.5196) |
| Luminance | 0.0575 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.70
Wine Red
#7B0323
ΔE00 4.40
Wine
#722F37
ΔE00 6.17
Claret
#680018
ΔE00 6.46
Crimson (survey)
#8C000F
ΔE00 6.69
Bordeaux
#7B002C
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2127 #217F79
analogous
#7F2156 #7F2127 #7F4A21
triadic
#7F2127 #277F21 #21277F
tetradic
#7F2127 #567F21 #217F79 #4A217F
square
#7F2127 #567F21 #217F79 #4A217F
split-complementary
#7F2127 #217F4A #21567F
monochromatic
#1E0809 #4E1418 #7F2127 #B02E36 #D04A53
Accessibility & contrast
On white
9.77
#7F2127 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#7F2127 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2127
9.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2127 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2127 | 1.00 | 9.77 | 2.15 | 9.77 |
| #FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B3726
Deuteranopia (green-blind)
#534B24
Tritanopia (blue-blind)
#8C0224
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7f2127; /* rgb */ color: rgb(127, 33, 39); /* oklch */ color: oklch(40.2% 0.128 21.8);
Tailwind
colors: {
custom: {
50: '#ab6461',
500: '#7f2127',
950: '#000000',
},
}SCSS
$custom: #7f2127; $custom-light: #ab6461; $custom-dark: #000000;
JSON
{
"hex": "#7f2127",
"rgb": {
"r": 127,
"g": 33,
"b": 39
},
"hsl": {
"h": 356.17,
"s": 58.75,
"l": 31.373
},
"oklch": {
"l": 0.40157,
"c": 0.1281,
"h": 21.8
},
"luminance": 0.05746
}Semantic roles & 50–950 ramp
primary
#7F2127
secondary
#4AB2AB
accent
#E2D846
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110605
muted
#807A79