#7F1C12#7F1C12
#7F1C12 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.4% C 0.136 H 30.0°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1C12 |
|---|---|
| RGB | rgb(127, 28, 18) |
| HSL | hsl(6, 75%, 28%) |
| HSV | hsv(6, 86%, 50%) |
| CMYK | cmyk(0%, 78%, 85.8%, 50.2%) |
| CIE-LAB | lab(27.81, 41.37, 32.00) |
| CIE-LCH | lch(27.81, 52.30, 37.71°) |
| OKLab | oklab(39.36% 0.1174 0.0678) |
| OKLCH | oklch(39.36% 0.136 30) |
| XYZ | xyz(9.2780, 5.3877, 1.1236) |
| Luminance | 0.0539 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Indian Red
#850E04
ΔE00 2.65
Maroon
#800000
ΔE00 3.07
Dark Red
#840000
ΔE00 3.16
Crimson (survey)
#8C000F
ΔE00 3.51
Blood
#770001
ΔE00 3.55
Darkred
#8B0000
ΔE00 3.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1C12 #12757F
analogous
#7F123E #7F1C12 #7F5212
triadic
#7F1C12 #127F1C #1C127F
tetradic
#7F1C12 #3E7F12 #12757F #52127F
square
#7F1C12 #3E7F12 #12757F #52127F
split-complementary
#7F1C12 #127F52 #123E7F
monochromatic
#1B0604 #49100A #7F1C12 #B5281A #E13B2B
Accessibility & contrast
On white
10.11
#7F1C12 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#7F1C12 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1C12
10.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1C12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1C12 | 1.00 | 10.11 | 2.08 | 10.11 |
| #FFFFFF | 10.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B3410
Deuteranopia (green-blind)
#53490D
Tritanopia (blue-blind)
#8D001B
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7f1c12; /* rgb */ color: rgb(127, 28, 18); /* oklch */ color: oklch(39.4% 0.136 30.0);
Tailwind
colors: {
custom: {
50: '#ad6151',
500: '#7f1c12',
950: '#000000',
},
}SCSS
$custom: #7f1c12; $custom-light: #ad6151; $custom-dark: #000000;
JSON
{
"hex": "#7f1c12",
"rgb": {
"r": 127,
"g": 28,
"b": 18
},
"hsl": {
"h": 5.505,
"s": 75.172,
"l": 28.431
},
"oklch": {
"l": 0.39358,
"c": 0.13553,
"h": 30
},
"luminance": 0.05386
}Semantic roles & 50–950 ramp
primary
#7F1C12
secondary
#38A9B5
accent
#E1F236
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120502
muted
#817A78