#7F182C#7F182C
#7F182C is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.4% C 0.137 H 15.9°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).
Color values
| HEX | #7F182C |
|---|---|
| RGB | rgb(127, 24, 44) |
| HSL | hsl(348, 68%, 30%) |
| HSV | hsv(348, 81%, 50%) |
| CMYK | cmyk(0%, 81.1%, 65.4%, 50.2%) |
| CIE-LAB | lab(27.71, 43.94, 15.54) |
| CIE-LCH | lch(27.71, 46.60, 19.48°) |
| OKLab | oklab(39.4% 0.1314 0.0375) |
| OKLCH | oklch(39.4% 0.137 15.9) |
| XYZ | xyz(9.5347, 5.3486, 2.9127) |
| Luminance | 0.0535 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 2.46
Burgundy
#800020
ΔE00 3.24
Bordeaux
#7B002C
ΔE00 3.62
Red Wine
#8C0034
ΔE00 4.08
Wine
#722F37
ΔE00 5.50
Claret
#680018
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F182C #187F6B
analogous
#7F185F #7F182C #7F3818
triadic
#7F182C #2C7F18 #182C7F
tetradic
#7F182C #5F7F18 #187F6B #38187F
square
#7F182C #5F7F18 #187F6B #38187F
split-complementary
#7F182C #187F38 #185F7F
monochromatic
#1A0509 #4C0E1A #7F182C #B2223E #D93857
Accessibility & contrast
On white
10.15
#7F182C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#7F182C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F182C
10.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F182C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F182C | 1.00 | 10.15 | 2.07 | 10.15 |
| #FFFFFF | 10.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#36342C
Deuteranopia (green-blind)
#504929
Tritanopia (blue-blind)
#8C0021
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7f182c; /* rgb */ color: rgb(127, 24, 44); /* oklch */ color: oklch(39.4% 0.137 15.9);
Tailwind
colors: {
custom: {
50: '#ab6064',
500: '#7f182c',
950: '#000000',
},
}SCSS
$custom: #7f182c; $custom-light: #ab6064; $custom-dark: #000000;
JSON
{
"hex": "#7f182c",
"rgb": {
"r": 127,
"g": 24,
"b": 44
},
"hsl": {
"h": 348.35,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.394,
"c": 0.13664,
"h": 15.9
},
"luminance": 0.05347
}Semantic roles & 50–950 ramp
primary
#7F182C
secondary
#3FB39D
accent
#EBC93D
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110505
muted
#807A7A