#7F1727#7F1727
#7F1727 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.2% C 0.138 H 18.6°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1727 |
|---|---|
| RGB | rgb(127, 23, 39) |
| HSL | hsl(351, 69%, 29%) |
| HSV | hsv(351, 82%, 50%) |
| CMYK | cmyk(0%, 81.9%, 69.3%, 50.2%) |
| CIE-LAB | lab(27.50, 43.95, 18.61) |
| CIE-LCH | lch(27.50, 47.72, 22.95°) |
| OKLab | oklab(39.22% 0.1303 0.0439) |
| OKLCH | oklch(39.22% 0.138 18.6) |
| XYZ | xyz(9.4261, 5.2728, 2.4405) |
| Luminance | 0.0527 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 2.13
Wine Red
#7B0323
ΔE00 2.34
Bordeaux
#7B002C
ΔE00 5.00
Claret
#680018
ΔE00 5.38
Red Wine
#8C0034
ΔE00 5.49
Wine
#722F37
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1727 #177F6F
analogous
#7F175B #7F1727 #7F3B17
triadic
#7F1727 #277F17 #17277F
tetradic
#7F1727 #5B7F17 #177F6F #3B177F
square
#7F1727 #5B7F17 #177F6F #3B177F
split-complementary
#7F1727 #177F3B #175B7F
monochromatic
#1A0508 #4B0E17 #7F1727 #B32037 #DB364F
Accessibility & contrast
On white
10.22
#7F1727 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#7F1727 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1727
10.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1727 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1727 | 1.00 | 10.22 | 2.05 | 10.22 |
| #FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363327
Deuteranopia (green-blind)
#504924
Tritanopia (blue-blind)
#8C001E
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7f1727; /* rgb */ color: rgb(127, 23, 39); /* oklch */ color: oklch(39.2% 0.138 18.6);
Tailwind
colors: {
custom: {
50: '#ab5f60',
500: '#7f1727',
950: '#000000',
},
}SCSS
$custom: #7f1727; $custom-light: #ab5f60; $custom-dark: #000000;
JSON
{
"hex": "#7f1727",
"rgb": {
"r": 127,
"g": 23,
"b": 39
},
"hsl": {
"h": 350.769,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.39215,
"c": 0.1375,
"h": 18.6
},
"luminance": 0.05271
}Semantic roles & 50–950 ramp
primary
#7F1727
secondary
#3EB4A2
accent
#ECD13C
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979