#7F1B0F#7F1B0F
#7F1B0F is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.2% C 0.137 H 30.7°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1B0F |
|---|---|
| RGB | rgb(127, 27, 15) |
| HSL | hsl(6, 79%, 28%) |
| HSV | hsv(6, 88%, 50%) |
| CMYK | cmyk(0%, 78.7%, 88.2%, 50.2%) |
| CIE-LAB | lab(27.66, 41.65, 33.46) |
| CIE-LCH | lch(27.66, 53.42, 38.78°) |
| OKLab | oklab(39.24% 0.1177 0.0698) |
| OKLCH | oklch(39.24% 0.137 30.7) |
| XYZ | xyz(9.2317, 5.3319, 0.9949) |
| Luminance | 0.0533 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Indian Red
#850E04
ΔE00 2.12
Maroon
#800000
ΔE00 2.72
Dark Red
#840000
ΔE00 2.76
Darkred
#8B0000
ΔE00 3.33
Blood
#770001
ΔE00 3.42
Crimson (survey)
#8C000F
ΔE00 3.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1B0F #0F737F
analogous
#7F0F3B #7F1B0F #7F530F
triadic
#7F1B0F #0F7F1B #1B0F7F
tetradic
#7F1B0F #3B7F0F #0F737F #530F7F
square
#7F1B0F #3B7F0F #0F737F #530F7F
split-complementary
#7F1B0F #0F7F53 #0F3B7F
monochromatic
#1B0603 #480F09 #7F1B0F #B62715 #E53823
Accessibility & contrast
On white
10.16
#7F1B0F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#7F1B0F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1B0F
10.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1B0F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1B0F | 1.00 | 10.16 | 2.07 | 10.16 |
| #FFFFFF | 10.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A330C
Deuteranopia (green-blind)
#534909
Tritanopia (blue-blind)
#8D001A
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7f1b0f; /* rgb */ color: rgb(127, 27, 15); /* oklch */ color: oklch(39.2% 0.137 30.7);
Tailwind
colors: {
custom: {
50: '#ad604f',
500: '#7f1b0f',
950: '#000000',
},
}SCSS
$custom: #7f1b0f; $custom-light: #ad604f; $custom-dark: #000000;
JSON
{
"hex": "#7f1b0f",
"rgb": {
"r": 127,
"g": 27,
"b": 15
},
"hsl": {
"h": 6.429,
"s": 78.873,
"l": 27.843
},
"oklch": {
"l": 0.39237,
"c": 0.13677,
"h": 30.7
},
"luminance": 0.0533
}Semantic roles & 50–950 ramp
primary
#7F1B0F
secondary
#34A8B5
accent
#E0F532
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120502
muted
#817A78