#7F182E#7F182E
#7F182E is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.4% C 0.137 H 14.7°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).
Color values
| HEX | #7F182E |
|---|---|
| RGB | rgb(127, 24, 46) |
| HSL | hsl(347, 68%, 30%) |
| HSV | hsv(347, 81%, 50%) |
| CMYK | cmyk(0%, 81.1%, 63.8%, 50.2%) |
| CIE-LAB | lab(27.75, 44.07, 14.25) |
| CIE-LCH | lch(27.75, 46.32, 17.92°) |
| OKLab | oklab(39.44% 0.1322 0.0347) |
| OKLCH | oklch(39.44% 0.137 14.7) |
| XYZ | xyz(9.5732, 5.3640, 3.1155) |
| Luminance | 0.0536 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 2.83
Bordeaux
#7B002C
ΔE00 3.11
Red Wine
#8C0034
ΔE00 3.56
Burgundy
#800020
ΔE00 3.85
Wine
#722F37
ΔE00 5.35
Cranberry
#9E003A
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F182E #187F69
analogous
#7F1862 #7F182E #7F3518
triadic
#7F182E #2E7F18 #182E7F
tetradic
#7F182E #627F18 #187F69 #35187F
square
#7F182E #627F18 #187F69 #35187F
split-complementary
#7F182E #187F35 #18627F
monochromatic
#1A0509 #4C0E1B #7F182E #B22241 #D9385A
Accessibility & contrast
On white
10.13
#7F182E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#7F182E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F182E
10.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F182E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F182E | 1.00 | 10.13 | 2.07 | 10.13 |
| #FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#36342E
Deuteranopia (green-blind)
#50492B
Tritanopia (blue-blind)
#8C0022
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7f182e; /* rgb */ color: rgb(127, 24, 46); /* oklch */ color: oklch(39.4% 0.137 14.7);
Tailwind
colors: {
custom: {
50: '#ab6066',
500: '#7f182e',
950: '#000000',
},
}SCSS
$custom: #7f182e; $custom-light: #ab6066; $custom-dark: #000000;
JSON
{
"hex": "#7f182e",
"rgb": {
"r": 127,
"g": 24,
"b": 46
},
"hsl": {
"h": 347.184,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.39444,
"c": 0.13671,
"h": 14.7
},
"luminance": 0.05363
}Semantic roles & 50–950 ramp
primary
#7F182E
secondary
#3FB39B
accent
#EBC63D
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110505
muted
#807A7A