#7F231A#7F231A
#7F231A is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.2% C 0.128 H 29.4°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).
Color values
| HEX | #7F231A |
|---|---|
| RGB | rgb(127, 35, 26) |
| HSL | hsl(5, 66%, 30%) |
| HSV | hsv(5, 80%, 50%) |
| CMYK | cmyk(0%, 72.4%, 79.5%, 50.2%) |
| CIE-LAB | lab(28.88, 38.94, 28.46) |
| CIE-LCH | lch(28.88, 48.24, 36.17°) |
| OKLab | oklab(40.18% 0.1114 0.0628) |
| OKLCH | oklch(40.18% 0.128 29.4) |
| XYZ | xyz(9.5410, 5.7901, 1.5923) |
| Luminance | 0.0579 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 4.21
Indian Red
#850E04
ΔE00 4.26
Maroon
#800000
ΔE00 4.71
Dark Red
#840000
ΔE00 4.79
Reddy Brown
#6E1005
ΔE00 4.89
Blood
#770001
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F231A #1A767F
analogous
#7F1A43 #7F231A #7F561A
triadic
#7F231A #1A7F23 #231A7F
tetradic
#7F231A #437F1A #1A767F #561A7F
square
#7F231A #437F1A #1A767F #561A7F
split-complementary
#7F231A #1A7F56 #1A437F
monochromatic
#190705 #4C1510 #7F231A #B23124 #D74A3C
Accessibility & contrast
On white
9.73
#7F231A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#7F231A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F231A
9.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F231A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F231A | 1.00 | 9.73 | 2.16 | 9.73 |
| #FFFFFF | 9.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E3718
Deuteranopia (green-blind)
#554B16
Tritanopia (blue-blind)
#8C0222
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7f231a; /* rgb */ color: rgb(127, 35, 26); /* oklch */ color: oklch(40.2% 0.128 29.4);
Tailwind
colors: {
custom: {
50: '#ac6457',
500: '#7f231a',
950: '#000000',
},
}SCSS
$custom: #7f231a; $custom-light: #ac6457; $custom-dark: #000000;
JSON
{
"hex": "#7f231a",
"rgb": {
"r": 127,
"g": 35,
"b": 26
},
"hsl": {
"h": 5.347,
"s": 66.013,
"l": 30
},
"oklch": {
"l": 0.4018,
"c": 0.12792,
"h": 29.4
},
"luminance": 0.05789
}Semantic roles & 50–950 ramp
primary
#7F231A
secondary
#42A9B3
accent
#DAE93F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78