#7F182B#7F182B
#7F182B is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.4% C 0.137 H 16.5°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).
Color values
| HEX | #7F182B |
|---|---|
| RGB | rgb(127, 24, 43) |
| HSL | hsl(349, 68%, 30%) |
| HSV | hsv(349, 81%, 50%) |
| CMYK | cmyk(0%, 81.1%, 66.1%, 50.2%) |
| CIE-LAB | lab(27.69, 43.87, 16.18) |
| CIE-LCH | lch(27.69, 46.76, 20.25°) |
| OKLab | oklab(39.38% 0.131 0.0389) |
| OKLCH | oklch(39.38% 0.137 16.5) |
| XYZ | xyz(9.5161, 5.3412, 2.8149) |
| Luminance | 0.0534 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 2.35
Burgundy
#800020
ΔE00 2.97
Bordeaux
#7B002C
ΔE00 3.91
Red Wine
#8C0034
ΔE00 4.36
Wine
#722F37
ΔE00 5.60
Claret
#680018
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F182B #187F6C
analogous
#7F185F #7F182B #7F3918
triadic
#7F182B #2B7F18 #182B7F
tetradic
#7F182B #5F7F18 #187F6C #39187F
square
#7F182B #5F7F18 #187F6C #39187F
split-complementary
#7F182B #187F39 #185F7F
monochromatic
#1A0509 #4C0E1A #7F182B #B2223C #D93856
Accessibility & contrast
On white
10.15
#7F182B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#7F182B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F182B
10.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F182B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F182B | 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)
#36342B
Deuteranopia (green-blind)
#504928
Tritanopia (blue-blind)
#8C0020
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7f182b; /* rgb */ color: rgb(127, 24, 43); /* oklch */ color: oklch(39.4% 0.137 16.5);
Tailwind
colors: {
custom: {
50: '#ab6064',
500: '#7f182b',
950: '#000000',
},
}SCSS
$custom: #7f182b; $custom-light: #ab6064; $custom-dark: #000000;
JSON
{
"hex": "#7f182b",
"rgb": {
"r": 127,
"g": 24,
"b": 43
},
"hsl": {
"h": 348.932,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.39378,
"c": 0.13662,
"h": 16.5
},
"luminance": 0.0534
}Semantic roles & 50–950 ramp
primary
#7F182B
secondary
#3FB39E
accent
#EBCB3D
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110505
muted
#807A79