#7F1828#7F1828
#7F1828 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.3% C 0.137 H 18.3°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1828 |
|---|---|
| RGB | rgb(127, 24, 40) |
| HSL | hsl(351, 68%, 30%) |
| HSV | hsv(351, 81%, 50%) |
| CMYK | cmyk(0%, 81.1%, 68.5%, 50.2%) |
| CIE-LAB | lab(27.63, 43.69, 18.11) |
| CIE-LCH | lch(27.63, 47.29, 22.51°) |
| OKLab | oklab(39.32% 0.1297 0.0429) |
| OKLCH | oklch(39.32% 0.137 18.3) |
| XYZ | xyz(9.4631, 5.3199, 2.5356) |
| Luminance | 0.0532 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 2.34
Wine Red
#7B0323
ΔE00 2.38
Bordeaux
#7B002C
ΔE00 4.85
Red Wine
#8C0034
ΔE00 5.30
Claret
#680018
ΔE00 5.49
Wine
#722F37
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1828 #187F6F
analogous
#7F185B #7F1828 #7F3C18
triadic
#7F1828 #287F18 #18287F
tetradic
#7F1828 #5B7F18 #187F6F #3C187F
square
#7F1828 #5B7F18 #187F6F #3C187F
split-complementary
#7F1828 #187F3C #185B7F
monochromatic
#1A0508 #4C0E18 #7F1828 #B22238 #D93851
Accessibility & contrast
On white
10.18
#7F1828 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#7F1828 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1828
10.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1828 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1828 | 1.00 | 10.18 | 2.06 | 10.18 |
| #FFFFFF | 10.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373328
Deuteranopia (green-blind)
#504925
Tritanopia (blue-blind)
#8C001F
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7f1828; /* rgb */ color: rgb(127, 24, 40); /* oklch */ color: oklch(39.3% 0.137 18.3);
Tailwind
colors: {
custom: {
50: '#ab6061',
500: '#7f1828',
950: '#000000',
},
}SCSS
$custom: #7f1828; $custom-light: #ab6061; $custom-dark: #000000;
JSON
{
"hex": "#7f1828",
"rgb": {
"r": 127,
"g": 24,
"b": 40
},
"hsl": {
"h": 350.68,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.39317,
"c": 0.13662,
"h": 18.3
},
"luminance": 0.05318
}Semantic roles & 50–950 ramp
primary
#7F1828
secondary
#3FB3A1
accent
#EBD03D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979