#7F2117#7F2117
#7F2117 is a dark, vivid red. Relative luminance 0.057; OKLCH L 39.9% C 0.130 H 29.9°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2117 |
|---|---|
| RGB | rgb(127, 33, 23) |
| HSL | hsl(6, 69%, 29%) |
| HSV | hsv(6, 82%, 50%) |
| CMYK | cmyk(0%, 74%, 81.9%, 50.2%) |
| CIE-LAB | lab(28.55, 39.64, 29.88) |
| CIE-LCH | lch(28.55, 49.64, 37.01°) |
| OKLab | oklab(39.92% 0.113 0.065) |
| OKLCH | oklch(39.92% 0.13 29.9) |
| XYZ | xyz(9.4520, 5.6631, 1.4058) |
| Luminance | 0.0566 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Indian Red
#850E04
ΔE00 3.61
Crimson (survey)
#8C000F
ΔE00 3.96
Maroon
#800000
ΔE00 4.10
Dark Red
#840000
ΔE00 4.18
Blood
#770001
ΔE00 4.42
Reddy Brown
#6E1005
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2117 #17757F
analogous
#7F1741 #7F2117 #7F5517
triadic
#7F2117 #177F21 #21177F
tetradic
#7F2117 #417F17 #17757F #55177F
square
#7F2117 #417F17 #17757F #55177F
split-complementary
#7F2117 #177F55 #17417F
monochromatic
#1A0705 #4B140E #7F2117 #B32E20 #DB4636
Accessibility & contrast
On white
9.85
#7F2117 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#7F2117 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2117
9.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2117 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2117 | 1.00 | 9.85 | 2.13 | 9.85 |
| #FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D3615
Deuteranopia (green-blind)
#544B13
Tritanopia (blue-blind)
#8C0020
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7f2117; /* rgb */ color: rgb(127, 33, 23); /* oklch */ color: oklch(39.9% 0.130 29.9);
Tailwind
colors: {
custom: {
50: '#ac6355',
500: '#7f2117',
950: '#000000',
},
}SCSS
$custom: #7f2117; $custom-light: #ac6355; $custom-dark: #000000;
JSON
{
"hex": "#7f2117",
"rgb": {
"r": 127,
"g": 33,
"b": 23
},
"hsl": {
"h": 5.769,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.39922,
"c": 0.13033,
"h": 29.9
},
"luminance": 0.05662
}Semantic roles & 50–950 ramp
primary
#7F2117
secondary
#3EA8B4
accent
#DBEC3C
background
#FBF6F4
surface
#F6EBE8
border
#D0C6C4
text
#120603
muted
#817A78