#7F1527#7F1527
#7F1527 is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.1% C 0.139 H 18.1°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1527 |
|---|---|
| RGB | rgb(127, 21, 39) |
| HSL | hsl(350, 72%, 29%) |
| HSV | hsv(350, 83%, 50%) |
| CMYK | cmyk(0%, 83.5%, 69.3%, 50.2%) |
| CIE-LAB | lab(27.29, 44.54, 18.34) |
| CIE-LCH | lch(27.29, 48.17, 22.38°) |
| OKLab | oklab(39.06% 0.1322 0.0433) |
| OKLCH | oklch(39.06% 0.139 18.1) |
| XYZ | xyz(9.3878, 5.1963, 2.4277) |
| Luminance | 0.0520 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 2.00
Wine Red
#7B0323
ΔE00 2.03
Bordeaux
#7B002C
ΔE00 4.67
Red Wine
#8C0034
ΔE00 5.21
Claret
#680018
ΔE00 5.27
Wine
#722F37
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1527 #157F6D
analogous
#7F155C #7F1527 #7F3815
triadic
#7F1527 #277F15 #15277F
tetradic
#7F1527 #5C7F15 #157F6D #38157F
square
#7F1527 #5C7F15 #157F6D #38157F
split-complementary
#7F1527 #157F38 #155C7F
monochromatic
#1A0408 #4A0C17 #7F1527 #B41E37 #DD314F
Accessibility & contrast
On white
10.30
#7F1527 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#7F1527 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1527
10.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1527 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1527 | 1.00 | 10.30 | 2.04 | 10.30 |
| #FFFFFF | 10.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353227
Deuteranopia (green-blind)
#504824
Tritanopia (blue-blind)
#8C001D
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7f1527; /* rgb */ color: rgb(127, 21, 39); /* oklch */ color: oklch(39.1% 0.139 18.1);
Tailwind
colors: {
custom: {
50: '#ab5f60',
500: '#7f1527',
950: '#000000',
},
}SCSS
$custom: #7f1527; $custom-light: #ab5f60; $custom-dark: #000000;
JSON
{
"hex": "#7f1527",
"rgb": {
"r": 127,
"g": 21,
"b": 39
},
"hsl": {
"h": 349.811,
"s": 71.622,
"l": 29.02
},
"oklch": {
"l": 0.39059,
"c": 0.13913,
"h": 18.1
},
"luminance": 0.05195
}Semantic roles & 50–950 ramp
primary
#7F1527
secondary
#3CB4A0
accent
#EED039
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979