#7F221C#7F221C
#7F221C is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.1% C 0.129 H 28.1°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).
Color values
| HEX | #7F221C |
|---|---|
| RGB | rgb(127, 34, 28) |
| HSL | hsl(4, 64%, 30%) |
| HSV | hsv(4, 78%, 50%) |
| CMYK | cmyk(0%, 73.2%, 78%, 50.2%) |
| CIE-LAB | lab(28.75, 39.44, 27.12) |
| CIE-LCH | lch(28.75, 47.86, 34.52°) |
| OKLab | oklab(40.09% 0.1134 0.0605) |
| OKLCH | oklch(40.09% 0.129 28.1) |
| XYZ | xyz(9.5351, 5.7414, 1.7045) |
| Luminance | 0.0574 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 4.19
Indian Red
#850E04
ΔE00 4.85
Maroon
#800000
ΔE00 5.10
Blood
#770001
ΔE00 5.13
Reddy Brown
#6E1005
ΔE00 5.18
Dark Red
#840000
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F221C #1C797F
analogous
#7F1C48 #7F221C #7F531C
triadic
#7F221C #1C7F22 #221C7F
tetradic
#7F221C #487F1C #1C797F #531C7F
square
#7F221C #487F1C #1C797F #531C7F
split-complementary
#7F221C #1C7F53 #1C487F
monochromatic
#1B0706 #4D1511 #7F221C #B12F27 #D54940
Accessibility & contrast
On white
9.78
#7F221C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#7F221C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F221C
9.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F221C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F221C | 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)
#3D371A
Deuteranopia (green-blind)
#544B19
Tritanopia (blue-blind)
#8C0021
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7f221c; /* rgb */ color: rgb(127, 34, 28); /* oklch */ color: oklch(40.1% 0.129 28.1);
Tailwind
colors: {
custom: {
50: '#ac6458',
500: '#7f221c',
950: '#000000',
},
}SCSS
$custom: #7f221c; $custom-light: #ac6458; $custom-dark: #000000;
JSON
{
"hex": "#7f221c",
"rgb": {
"r": 127,
"g": 34,
"b": 28
},
"hsl": {
"h": 3.636,
"s": 63.871,
"l": 30.392
},
"oklch": {
"l": 0.40093,
"c": 0.12854,
"h": 28.1
},
"luminance": 0.0574
}Semantic roles & 50–950 ramp
primary
#7F221C
secondary
#44ACB3
accent
#DDE741
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78