#7F221D#7F221D
#7F221D is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.1% C 0.128 H 27.6°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).
Color values
| HEX | #7F221D |
|---|---|
| RGB | rgb(127, 34, 29) |
| HSL | hsl(3, 63%, 31%) |
| HSV | hsv(3, 77%, 50%) |
| CMYK | cmyk(0%, 73.2%, 77.2%, 50.2%) |
| CIE-LAB | lab(28.76, 39.48, 26.53) |
| CIE-LCH | lch(28.76, 47.57, 33.90°) |
| OKLab | oklab(40.11% 0.1138 0.0595) |
| OKLCH | oklch(40.11% 0.128 27.6) |
| XYZ | xyz(9.5473, 5.7462, 1.7686) |
| Luminance | 0.0575 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 4.29
Indian Red
#850E04
ΔE00 5.15
Blood
#770001
ΔE00 5.31
Maroon
#800000
ΔE00 5.35
Reddy Brown
#6E1005
ΔE00 5.37
Dark Red
#840000
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F221D #1D7A7F
analogous
#7F1D49 #7F221D #7F531D
triadic
#7F221D #1D7F22 #221D7F
tetradic
#7F221D #497F1D #1D7A7F #531D7F
square
#7F221D #497F1D #1D7A7F #531D7F
split-complementary
#7F221D #1D7F53 #1D497F
monochromatic
#1B0706 #4D1512 #7F221D #B12F28 #D44A42
Accessibility & contrast
On white
9.77
#7F221D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#7F221D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F221D
9.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F221D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F221D | 1.00 | 9.77 | 2.15 | 9.77 |
| #FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D371C
Deuteranopia (green-blind)
#544B1A
Tritanopia (blue-blind)
#8C0022
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7f221d; /* rgb */ color: rgb(127, 34, 29); /* oklch */ color: oklch(40.1% 0.128 27.6);
Tailwind
colors: {
custom: {
50: '#ab6459',
500: '#7f221d',
950: '#000000',
},
}SCSS
$custom: #7f221d; $custom-light: #ab6459; $custom-dark: #000000;
JSON
{
"hex": "#7f221d",
"rgb": {
"r": 127,
"g": 34,
"b": 29
},
"hsl": {
"h": 3.061,
"s": 62.821,
"l": 30.588
},
"oklch": {
"l": 0.40106,
"c": 0.12838,
"h": 27.6
},
"luminance": 0.05745
}Semantic roles & 50–950 ramp
primary
#7F221D
secondary
#45ADB2
accent
#DEE642
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78