#7F282A#7F282A
#7F282A is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.0% C 0.120 H 22.9°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).
Color values
| HEX | #7F282A |
|---|---|
| RGB | rgb(127, 40, 42) |
| HSL | hsl(359, 52%, 33%) |
| HSV | hsv(359, 69%, 50%) |
| CMYK | cmyk(0%, 68.5%, 66.9%, 50.2%) |
| CIE-LAB | lab(29.91, 37.62, 19.67) |
| CIE-LCH | lch(29.91, 42.45, 27.61°) |
| OKLab | oklab(41.03% 0.1108 0.0467) |
| OKLCH | oklch(41.03% 0.12 22.9) |
| XYZ | xyz(9.9301, 6.1982, 2.8635) |
| Luminance | 0.0620 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 5.06
Wine Red
#7B0323
ΔE00 5.66
Wine
#722F37
ΔE00 5.78
Crimson (survey)
#8C000F
ΔE00 7.11
Claret
#680018
ΔE00 7.52
Carmine
#9D0216
ΔE00 7.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F282A #287F7D
analogous
#7F2855 #7F282A #7F5228
triadic
#7F282A #2A7F28 #282A7F
tetradic
#7F282A #557F28 #287F7D #52287F
square
#7F282A #557F28 #287F7D #52287F
split-complementary
#7F282A #287F52 #28557F
monochromatic
#220B0B #50191B #7F282A #AE3739 #CA575A
Accessibility & contrast
On white
9.38
#7F282A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#7F282A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F282A
9.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F282A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F282A | 1.00 | 9.38 | 2.24 | 9.38 |
| #FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F3B29
Deuteranopia (green-blind)
#554D28
Tritanopia (blue-blind)
#8C132A
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7f282a; /* rgb */ color: rgb(127, 40, 42); /* oklch */ color: oklch(41.0% 0.120 22.9);
Tailwind
colors: {
custom: {
50: '#aa6763',
500: '#7f282a',
950: '#000000',
},
}SCSS
$custom: #7f282a; $custom-light: #aa6763; $custom-dark: #000000;
JSON
{
"hex": "#7f282a",
"rgb": {
"r": 127,
"g": 40,
"b": 42
},
"hsl": {
"h": 358.621,
"s": 52.096,
"l": 32.745
},
"oklch": {
"l": 0.41026,
"c": 0.12023,
"h": 22.9
},
"luminance": 0.06197
}Semantic roles & 50–950 ramp
primary
#7F282A
secondary
#54AFAD
accent
#DCD84C
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79