#7F221A#7F221A
#7F221A is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.1% C 0.129 H 29.0°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).
Color values
| HEX | #7F221A |
|---|---|
| RGB | rgb(127, 34, 26) |
| HSL | hsl(5, 66%, 30%) |
| HSV | hsv(5, 80%, 50%) |
| CMYK | cmyk(0%, 73.2%, 79.5%, 50.2%) |
| CIE-LAB | lab(28.73, 39.35, 28.31) |
| CIE-LCH | lch(28.73, 48.48, 35.73°) |
| OKLab | oklab(40.07% 0.1127 0.0625) |
| OKLCH | oklch(40.07% 0.129 29) |
| XYZ | xyz(9.5120, 5.7321, 1.5826) |
| Luminance | 0.0573 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 4.08
Indian Red
#850E04
ΔE00 4.30
Maroon
#800000
ΔE00 4.67
Dark Red
#840000
ΔE00 4.77
Blood
#770001
ΔE00 4.83
Reddy Brown
#6E1005
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F221A #1A777F
analogous
#7F1A45 #7F221A #7F541A
triadic
#7F221A #1A7F22 #221A7F
tetradic
#7F221A #457F1A #1A777F #541A7F
square
#7F221A #457F1A #1A777F #541A7F
split-complementary
#7F221A #1A7F54 #1A457F
monochromatic
#190705 #4C1410 #7F221A #B23024 #D7493C
Accessibility & contrast
On white
9.78
#7F221A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#7F221A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F221A
9.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F221A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F221A | 1.00 | 9.78 | 2.15 | 9.78 |
| #FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D3718
Deuteranopia (green-blind)
#544B16
Tritanopia (blue-blind)
#8C0021
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7f221a; /* rgb */ color: rgb(127, 34, 26); /* oklch */ color: oklch(40.1% 0.129 29.0);
Tailwind
colors: {
custom: {
50: '#ac6457',
500: '#7f221a',
950: '#000000',
},
}SCSS
$custom: #7f221a; $custom-light: #ac6457; $custom-dark: #000000;
JSON
{
"hex": "#7f221a",
"rgb": {
"r": 127,
"g": 34,
"b": 26
},
"hsl": {
"h": 4.752,
"s": 66.013,
"l": 30
},
"oklch": {
"l": 0.40067,
"c": 0.12888,
"h": 29
},
"luminance": 0.05731
}Semantic roles & 50–950 ramp
primary
#7F221A
secondary
#42AAB3
accent
#DBE93F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120603
muted
#817A78