#7F231B#7F231B
#7F231B is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.2% C 0.128 H 29.0°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).
Color values
| HEX | #7F231B |
|---|---|
| RGB | rgb(127, 35, 27) |
| HSL | hsl(5, 65%, 30%) |
| HSV | hsv(5, 79%, 50%) |
| CMYK | cmyk(0%, 72.4%, 78.7%, 50.2%) |
| CIE-LAB | lab(28.89, 38.98, 27.88) |
| CIE-LCH | lch(28.89, 47.93, 35.57°) |
| OKLab | oklab(40.19% 0.1118 0.0619) |
| OKLCH | oklch(40.19% 0.128 29) |
| XYZ | xyz(9.5523, 5.7947, 1.6522) |
| Luminance | 0.0579 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 4.24
Indian Red
#850E04
ΔE00 4.52
Maroon
#800000
ΔE00 4.90
Dark Red
#840000
ΔE00 5.00
Reddy Brown
#6E1005
ΔE00 5.03
Blood
#770001
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F231B #1B777F
analogous
#7F1B45 #7F231B #7F551B
triadic
#7F231B #1B7F23 #231B7F
tetradic
#7F231B #457F1B #1B777F #551B7F
square
#7F231B #457F1B #1B777F #551B7F
split-complementary
#7F231B #1B7F55 #1B457F
monochromatic
#1A0706 #4D1510 #7F231B #B13126 #D64A3E
Accessibility & contrast
On white
9.73
#7F231B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#7F231B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F231B
9.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F231B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F231B | 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)
#3E3719
Deuteranopia (green-blind)
#554B17
Tritanopia (blue-blind)
#8C0222
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7f231b; /* rgb */ color: rgb(127, 35, 27); /* oklch */ color: oklch(40.2% 0.128 29.0);
Tailwind
colors: {
custom: {
50: '#ac6458',
500: '#7f231b',
950: '#000000',
},
}SCSS
$custom: #7f231b; $custom-light: #ac6458; $custom-dark: #000000;
JSON
{
"hex": "#7f231b",
"rgb": {
"r": 127,
"g": 35,
"b": 27
},
"hsl": {
"h": 4.8,
"s": 64.935,
"l": 30.196
},
"oklch": {
"l": 0.40192,
"c": 0.12775,
"h": 29
},
"luminance": 0.05793
}Semantic roles & 50–950 ramp
primary
#7F231B
secondary
#43AAB3
accent
#DAE840
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78