#7F182F#7F182F
#7F182F is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.5% C 0.137 H 14.1°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).
Color values
| HEX | #7F182F |
|---|---|
| RGB | rgb(127, 24, 47) |
| HSL | hsl(347, 68%, 30%) |
| HSV | hsv(347, 81%, 50%) |
| CMYK | cmyk(0%, 81.1%, 63%, 50.2%) |
| CIE-LAB | lab(27.77, 44.14, 13.61) |
| CIE-LCH | lch(27.77, 46.19, 17.14°) |
| OKLab | oklab(39.47% 0.1327 0.0333) |
| OKLCH | oklch(39.47% 0.137 14.1) |
| XYZ | xyz(9.5931, 5.3720, 3.2205) |
| Luminance | 0.0537 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Bordeaux
#7B002C
ΔE00 2.90
Wine Red
#7B0323
ΔE00 3.07
Red Wine
#8C0034
ΔE00 3.34
Burgundy
#800020
ΔE00 4.17
Wine
#722F37
ΔE00 5.32
Cranberry
#9E003A
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F182F #187F68
analogous
#7F1863 #7F182F #7F3518
triadic
#7F182F #2F7F18 #182F7F
tetradic
#7F182F #637F18 #187F68 #35187F
square
#7F182F #637F18 #187F68 #35187F
split-complementary
#7F182F #187F35 #18637F
monochromatic
#1A050A #4C0E1C #7F182F #B22242 #D9385C
Accessibility & contrast
On white
10.12
#7F182F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#7F182F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F182F
10.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F182F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F182F | 1.00 | 10.12 | 2.07 | 10.12 |
| #FFFFFF | 10.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#35342F
Deuteranopia (green-blind)
#50492C
Tritanopia (blue-blind)
#8C0022
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7f182f; /* rgb */ color: rgb(127, 24, 47); /* oklch */ color: oklch(39.5% 0.137 14.1);
Tailwind
colors: {
custom: {
50: '#aa6067',
500: '#7f182f',
950: '#000000',
},
}SCSS
$custom: #7f182f; $custom-light: #aa6067; $custom-dark: #000000;
JSON
{
"hex": "#7f182f",
"rgb": {
"r": 127,
"g": 24,
"b": 47
},
"hsl": {
"h": 346.602,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.39467,
"c": 0.13677,
"h": 14.1
},
"luminance": 0.05371
}Semantic roles & 50–950 ramp
primary
#7F182F
secondary
#3FB399
accent
#EBC43D
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110506
muted
#807A7A