#7F182A#7F182A
#7F182A is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.4% C 0.137 H 17.1°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).
Color values
| HEX | #7F182A |
|---|---|
| RGB | rgb(127, 24, 42) |
| HSL | hsl(350, 68%, 30%) |
| HSV | hsv(350, 81%, 50%) |
| CMYK | cmyk(0%, 81.1%, 66.9%, 50.2%) |
| CIE-LAB | lab(27.67, 43.81, 16.82) |
| CIE-LCH | lch(27.67, 46.93, 21.01°) |
| OKLab | oklab(39.36% 0.1305 0.0403) |
| OKLCH | oklch(39.36% 0.137 17.1) |
| XYZ | xyz(9.4980, 5.3339, 2.7195) |
| Luminance | 0.0533 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 2.30
Burgundy
#800020
ΔE00 2.72
Bordeaux
#7B002C
ΔE00 4.21
Red Wine
#8C0034
ΔE00 4.67
Claret
#680018
ΔE00 5.64
Wine
#722F37
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F182A #187F6D
analogous
#7F185D #7F182A #7F3A18
triadic
#7F182A #2A7F18 #182A7F
tetradic
#7F182A #5D7F18 #187F6D #3A187F
square
#7F182A #5D7F18 #187F6D #3A187F
split-complementary
#7F182A #187F3A #185D7F
monochromatic
#1A0509 #4C0E19 #7F182A #B2223B #D93854
Accessibility & contrast
On white
10.16
#7F182A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#7F182A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F182A
10.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F182A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F182A | 1.00 | 10.16 | 2.07 | 10.16 |
| #FFFFFF | 10.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#36342A
Deuteranopia (green-blind)
#504927
Tritanopia (blue-blind)
#8C0020
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7f182a; /* rgb */ color: rgb(127, 24, 42); /* oklch */ color: oklch(39.4% 0.137 17.1);
Tailwind
colors: {
custom: {
50: '#ab6063',
500: '#7f182a',
950: '#000000',
},
}SCSS
$custom: #7f182a; $custom-light: #ab6063; $custom-dark: #000000;
JSON
{
"hex": "#7f182a",
"rgb": {
"r": 127,
"g": 24,
"b": 42
},
"hsl": {
"h": 349.515,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.39357,
"c": 0.13661,
"h": 17.1
},
"luminance": 0.05332
}Semantic roles & 50–950 ramp
primary
#7F182A
secondary
#3FB39F
accent
#EBCD3D
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110505
muted
#807A79