#7F1830#7F1830
#7F1830 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.5% C 0.137 H 13.5°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1830 |
|---|---|
| RGB | rgb(127, 24, 48) |
| HSL | hsl(346, 68%, 30%) |
| HSV | hsv(346, 81%, 50%) |
| CMYK | cmyk(0%, 81.1%, 62.2%, 50.2%) |
| CIE-LAB | lab(27.79, 44.21, 12.97) |
| CIE-LCH | lch(27.79, 46.07, 16.35°) |
| OKLab | oklab(39.49% 0.1331 0.0319) |
| OKLCH | oklch(39.49% 0.137 13.5) |
| XYZ | xyz(9.6135, 5.3801, 3.3280) |
| Luminance | 0.0538 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Bordeaux
#7B002C
ΔE00 2.73
Red Wine
#8C0034
ΔE00 3.15
Wine Red
#7B0323
ΔE00 3.33
Burgundy
#800020
ΔE00 4.50
Wine
#722F37
ΔE00 5.30
Cranberry
#9E003A
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1830 #187F67
analogous
#7F1864 #7F1830 #7F3318
triadic
#7F1830 #307F18 #18307F
tetradic
#7F1830 #647F18 #187F67 #33187F
square
#7F1830 #647F18 #187F67 #33187F
split-complementary
#7F1830 #187F33 #18647F
monochromatic
#1A050A #4C0E1D #7F1830 #B22243 #D9385E
Accessibility & contrast
On white
10.12
#7F1830 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#7F1830 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1830
10.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1830 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1830 | 1.00 | 10.12 | 2.08 | 10.12 |
| #FFFFFF | 10.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353430
Deuteranopia (green-blind)
#4F492D
Tritanopia (blue-blind)
#8C0022
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7f1830; /* rgb */ color: rgb(127, 24, 48); /* oklch */ color: oklch(39.5% 0.137 13.5);
Tailwind
colors: {
custom: {
50: '#aa6068',
500: '#7f1830',
950: '#000000',
},
}SCSS
$custom: #7f1830; $custom-light: #aa6068; $custom-dark: #000000;
JSON
{
"hex": "#7f1830",
"rgb": {
"r": 127,
"g": 24,
"b": 48
},
"hsl": {
"h": 346.019,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.39491,
"c": 0.13684,
"h": 13.5
},
"luminance": 0.05379
}Semantic roles & 50–950 ramp
primary
#7F1830
secondary
#3FB398
accent
#EBC23D
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110506
muted
#807A7A