#7F2A1A#7F2A1A
#7F2A1A is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.0% C 0.121 H 32.8°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2A1A |
|---|---|
| RGB | rgb(127, 42, 26) |
| HSL | hsl(10, 66%, 30%) |
| HSV | hsv(10, 80%, 50%) |
| CMYK | cmyk(0%, 66.9%, 79.5%, 50.2%) |
| CIE-LAB | lab(30.02, 35.84, 29.67) |
| CIE-LCH | lch(30.02, 46.53, 39.62°) |
| OKLab | oklab(41.04% 0.1017 0.0655) |
| OKLCH | oklch(41.04% 0.121 32.8) |
| XYZ | xyz(9.7679, 6.2439, 1.6679) |
| Luminance | 0.0624 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 3.41
Indian Red
#850E04
ΔE00 4.58
Reddish Brown
#7F2B0A
ΔE00 4.58
Brick Red
#8F1402
ΔE00 5.25
Dark Red
#840000
ΔE00 5.47
Maroon
#800000
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2A1A #1A6F7F
analogous
#7F1A3C #7F2A1A #7F5D1A
triadic
#7F2A1A #1A7F2A #2A1A7F
tetradic
#7F2A1A #3C7F1A #1A6F7F #5D1A7F
square
#7F2A1A #3C7F1A #1A6F7F #5D1A7F
split-complementary
#7F2A1A #1A7F5D #1A3C7F
monochromatic
#190805 #4C1910 #7F2A1A #B23B24 #D7553C
Accessibility & contrast
On white
9.34
#7F2A1A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#7F2A1A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2A1A
9.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2A1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2A1A | 1.00 | 9.34 | 2.25 | 9.34 |
| #FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#423B18
Deuteranopia (green-blind)
#574E17
Tritanopia (blue-blind)
#8C1327
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #7f2a1a; /* rgb */ color: rgb(127, 42, 26); /* oklch */ color: oklch(41.0% 0.121 32.8);
Tailwind
colors: {
custom: {
50: '#ab6857',
500: '#7f2a1a',
950: '#000000',
},
}SCSS
$custom: #7f2a1a; $custom-light: #ab6857; $custom-dark: #000000;
JSON
{
"hex": "#7f2a1a",
"rgb": {
"r": 127,
"g": 42,
"b": 26
},
"hsl": {
"h": 9.505,
"s": 66.013,
"l": 30
},
"oklch": {
"l": 0.41037,
"c": 0.12099,
"h": 32.8
},
"luminance": 0.06243
}Semantic roles & 50–950 ramp
primary
#7F2A1A
secondary
#42A1B3
accent
#CEE93F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78