#7F1823#7F1823
#7F1823 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.2% C 0.137 H 21.1°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1823 |
|---|---|
| RGB | rgb(127, 24, 35) |
| HSL | hsl(354, 68%, 30%) |
| HSV | hsv(354, 81%, 50%) |
| CMYK | cmyk(0%, 81.1%, 72.4%, 50.2%) |
| CIE-LAB | lab(27.54, 43.42, 21.30) |
| CIE-LCH | lch(27.54, 48.36, 26.13°) |
| OKLab | oklab(39.22% 0.1277 0.0493) |
| OKLCH | oklch(39.22% 0.137 21.1) |
| XYZ | xyz(9.3835, 5.2881, 2.1164) |
| Luminance | 0.0529 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 2.40
Wine Red
#7B0323
ΔE00 3.42
Claret
#680018
ΔE00 5.56
Crimson (survey)
#8C000F
ΔE00 6.25
Bordeaux
#7B002C
ΔE00 6.55
Rosewood
#65000B
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1823 #187F74
analogous
#7F1857 #7F1823 #7F4018
triadic
#7F1823 #237F18 #18237F
tetradic
#7F1823 #577F18 #187F74 #40187F
square
#7F1823 #577F18 #187F74 #40187F
split-complementary
#7F1823 #187F40 #18577F
monochromatic
#1A0507 #4C0E15 #7F1823 #B22231 #D93849
Accessibility & contrast
On white
10.21
#7F1823 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#7F1823 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1823
10.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1823 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1823 | 1.00 | 10.21 | 2.06 | 10.21 |
| #FFFFFF | 10.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373323
Deuteranopia (green-blind)
#514920
Tritanopia (blue-blind)
#8C001D
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7f1823; /* rgb */ color: rgb(127, 24, 35); /* oklch */ color: oklch(39.2% 0.137 21.1);
Tailwind
colors: {
custom: {
50: '#ab605d',
500: '#7f1823',
950: '#000000',
},
}SCSS
$custom: #7f1823; $custom-light: #ab605d; $custom-dark: #000000;
JSON
{
"hex": "#7f1823",
"rgb": {
"r": 127,
"g": 24,
"b": 35
},
"hsl": {
"h": 353.592,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.39224,
"c": 0.13684,
"h": 21.1
},
"luminance": 0.05287
}Semantic roles & 50–950 ramp
primary
#7F1823
secondary
#3FB3A7
accent
#EBD83D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979