#7F221B#7F221B
#7F221B is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.1% C 0.129 H 28.5°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).
Color values
| HEX | #7F221B |
|---|---|
| RGB | rgb(127, 34, 27) |
| HSL | hsl(4, 65%, 30%) |
| HSV | hsv(4, 79%, 50%) |
| CMYK | cmyk(0%, 73.2%, 78.7%, 50.2%) |
| CIE-LAB | lab(28.74, 39.39, 27.72) |
| CIE-LCH | lch(28.74, 48.17, 35.13°) |
| OKLab | oklab(40.08% 0.1131 0.0615) |
| OKLCH | oklch(40.08% 0.129 28.5) |
| XYZ | xyz(9.5233, 5.7367, 1.6425) |
| Luminance | 0.0573 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 4.12
Indian Red
#850E04
ΔE00 4.57
Maroon
#800000
ΔE00 4.88
Blood
#770001
ΔE00 4.97
Dark Red
#840000
ΔE00 4.99
Reddy Brown
#6E1005
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F221B #1B787F
analogous
#7F1B46 #7F221B #7F541B
triadic
#7F221B #1B7F22 #221B7F
tetradic
#7F221B #467F1B #1B787F #541B7F
square
#7F221B #467F1B #1B787F #541B7F
split-complementary
#7F221B #1B7F54 #1B467F
monochromatic
#1A0706 #4D1410 #7F221B #B13026 #D6493E
Accessibility & contrast
On white
9.78
#7F221B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#7F221B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F221B
9.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F221B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F221B | 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)
#3D3719
Deuteranopia (green-blind)
#544B17
Tritanopia (blue-blind)
#8C0021
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7f221b; /* rgb */ color: rgb(127, 34, 27); /* oklch */ color: oklch(40.1% 0.129 28.5);
Tailwind
colors: {
custom: {
50: '#ac6458',
500: '#7f221b',
950: '#000000',
},
}SCSS
$custom: #7f221b; $custom-light: #ac6458; $custom-dark: #000000;
JSON
{
"hex": "#7f221b",
"rgb": {
"r": 127,
"g": 34,
"b": 27
},
"hsl": {
"h": 4.2,
"s": 64.935,
"l": 30.196
},
"oklch": {
"l": 0.4008,
"c": 0.12871,
"h": 28.5
},
"luminance": 0.05735
}Semantic roles & 50–950 ramp
primary
#7F221B
secondary
#43ABB3
accent
#DCE840
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78