#7F221F#7F221F
#7F221F is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.1% C 0.128 H 26.6°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).
Color values
| HEX | #7F221F |
|---|---|
| RGB | rgb(127, 34, 31) |
| HSL | hsl(2, 61%, 31%) |
| HSV | hsv(2, 76%, 50%) |
| CMYK | cmyk(0%, 73.2%, 75.6%, 50.2%) |
| CIE-LAB | lab(28.79, 39.57, 25.32) |
| CIE-LCH | lch(28.79, 46.98, 32.61°) |
| OKLab | oklab(40.14% 0.1145 0.0573) |
| OKLCH | oklch(40.14% 0.128 26.6) |
| XYZ | xyz(9.5728, 5.7564, 1.9031) |
| Luminance | 0.0575 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 4.58
Burgundy
#800020
ΔE00 5.69
Blood
#770001
ΔE00 5.74
Indian Red
#850E04
ΔE00 5.77
Reddy Brown
#6E1005
ΔE00 5.81
Maroon
#800000
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F221F #1F7C7F
analogous
#7F1F4C #7F221F #7F521F
triadic
#7F221F #1F7F22 #221F7F
tetradic
#7F221F #4C7F1F #1F7C7F #521F7F
square
#7F221F #4C7F1F #1F7C7F #521F7F
split-complementary
#7F221F #1F7F52 #1F4C7F
monochromatic
#1D0807 #4E1513 #7F221F #B02F2B #D24B46
Accessibility & contrast
On white
9.76
#7F221F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#7F221F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F221F
9.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F221F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F221F | 1.00 | 9.76 | 2.15 | 9.76 |
| #FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D371E
Deuteranopia (green-blind)
#544B1C
Tritanopia (blue-blind)
#8C0122
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7f221f; /* rgb */ color: rgb(127, 34, 31); /* oklch */ color: oklch(40.1% 0.128 26.6);
Tailwind
colors: {
custom: {
50: '#ab645b',
500: '#7f221f',
950: '#000000',
},
}SCSS
$custom: #7f221f; $custom-light: #ab645b; $custom-dark: #000000;
JSON
{
"hex": "#7f221f",
"rgb": {
"r": 127,
"g": 34,
"b": 31
},
"hsl": {
"h": 1.875,
"s": 60.759,
"l": 30.98
},
"oklch": {
"l": 0.40135,
"c": 0.12807,
"h": 26.6
},
"luminance": 0.05755
}Semantic roles & 50–950 ramp
primary
#7F221F
secondary
#48AFB2
accent
#DFE444
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79