#7F182D#7F182D
#7F182D is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.4% C 0.137 H 15.3°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).
Color values
| HEX | #7F182D |
|---|---|
| RGB | rgb(127, 24, 45) |
| HSL | hsl(348, 68%, 30%) |
| HSV | hsv(348, 81%, 50%) |
| CMYK | cmyk(0%, 81.1%, 64.6%, 50.2%) |
| CIE-LAB | lab(27.73, 44.00, 14.90) |
| CIE-LCH | lch(27.73, 46.46, 18.70°) |
| OKLab | oklab(39.42% 0.1318 0.0362) |
| OKLCH | oklch(39.42% 0.137 15.3) |
| XYZ | xyz(9.5537, 5.3562, 3.0129) |
| Luminance | 0.0536 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 2.63
Bordeaux
#7B002C
ΔE00 3.35
Burgundy
#800020
ΔE00 3.54
Red Wine
#8C0034
ΔE00 3.81
Wine
#722F37
ΔE00 5.41
Claret
#680018
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F182D #187F6A
analogous
#7F1861 #7F182D #7F3718
triadic
#7F182D #2D7F18 #182D7F
tetradic
#7F182D #617F18 #187F6A #37187F
square
#7F182D #617F18 #187F6A #37187F
split-complementary
#7F182D #187F37 #18617F
monochromatic
#1A0509 #4C0E1B #7F182D #B2223F #D93859
Accessibility & contrast
On white
10.14
#7F182D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#7F182D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F182D
10.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F182D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F182D | 1.00 | 10.14 | 2.07 | 10.14 |
| #FFFFFF | 10.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#36342D
Deuteranopia (green-blind)
#50492A
Tritanopia (blue-blind)
#8C0021
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7f182d; /* rgb */ color: rgb(127, 24, 45); /* oklch */ color: oklch(39.4% 0.137 15.3);
Tailwind
colors: {
custom: {
50: '#ab6065',
500: '#7f182d',
950: '#000000',
},
}SCSS
$custom: #7f182d; $custom-light: #ab6065; $custom-dark: #000000;
JSON
{
"hex": "#7f182d",
"rgb": {
"r": 127,
"g": 24,
"b": 45
},
"hsl": {
"h": 347.767,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.39422,
"c": 0.13667,
"h": 15.3
},
"luminance": 0.05355
}Semantic roles & 50–950 ramp
primary
#7F182D
secondary
#3FB39C
accent
#EBC83D
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110505
muted
#807A7A