#7F151B#7F151B
#7F151B is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.9% C 0.140 H 24.3°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).
Color values
| HEX | #7F151B |
|---|---|
| RGB | rgb(127, 21, 27) |
| HSL | hsl(357, 72%, 29%) |
| HSV | hsv(357, 83%, 50%) |
| CMYK | cmyk(0%, 83.5%, 78.7%, 50.2%) |
| CIE-LAB | lab(27.10, 43.96, 25.93) |
| CIE-LCH | lch(27.10, 51.04, 30.53°) |
| OKLab | oklab(38.86% 0.1275 0.0576) |
| OKLCH | oklch(38.86% 0.14 24.3) |
| XYZ | xyz(9.2195, 5.1290, 1.5412) |
| Luminance | 0.0513 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 4.00
Crimson (survey)
#8C000F
ΔE00 4.05
Blood
#770001
ΔE00 5.16
Wine Red
#7B0323
ΔE00 5.43
Maroon
#800000
ΔE00 5.62
Reddy Brown
#6E1005
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F151B #157F79
analogous
#7F1550 #7F151B #7F4415
triadic
#7F151B #1B7F15 #151B7F
tetradic
#7F151B #507F15 #157F79 #44157F
square
#7F151B #507F15 #157F79 #44157F
split-complementary
#7F151B #157F44 #15507F
monochromatic
#1A0406 #4A0C10 #7F151B #B41E26 #DD313B
Accessibility & contrast
On white
10.37
#7F151B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#7F151B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F151B
10.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F151B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F151B | 1.00 | 10.37 | 2.03 | 10.37 |
| #FFFFFF | 10.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#37311A
Deuteranopia (green-blind)
#514817
Tritanopia (blue-blind)
#8C0019
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7f151b; /* rgb */ color: rgb(127, 21, 27); /* oklch */ color: oklch(38.9% 0.140 24.3);
Tailwind
colors: {
custom: {
50: '#ac5e57',
500: '#7f151b',
950: '#000000',
},
}SCSS
$custom: #7f151b; $custom-light: #ac5e57; $custom-dark: #000000;
JSON
{
"hex": "#7f151b",
"rgb": {
"r": 127,
"g": 21,
"b": 27
},
"hsl": {
"h": 356.604,
"s": 71.622,
"l": 29.02
},
"oklch": {
"l": 0.38859,
"c": 0.13989,
"h": 24.3
},
"luminance": 0.05127
}Semantic roles & 50–950 ramp
primary
#7F151B
secondary
#3CB4AD
accent
#EEE439
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120503
muted
#817978