#7F231C#7F231C
#7F231C is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.2% C 0.128 H 28.5°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #7F231C |
|---|---|
| RGB | rgb(127, 35, 28) |
| HSL | hsl(4, 64%, 30%) |
| HSV | hsv(4, 78%, 50%) |
| CMYK | cmyk(0%, 72.4%, 78%, 50.2%) |
| CIE-LAB | lab(28.90, 39.02, 27.29) |
| CIE-LCH | lch(28.90, 47.62, 34.96°) |
| OKLab | oklab(40.21% 0.1121 0.0609) |
| OKLCH | oklch(40.21% 0.128 28.5) |
| XYZ | xyz(9.5641, 5.7994, 1.7142) |
| Luminance | 0.0580 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 4.29
Indian Red
#850E04
ΔE00 4.78
Maroon
#800000
ΔE00 5.11
Blood
#770001
ΔE00 5.18
Reddy Brown
#6E1005
ΔE00 5.19
Dark Red
#840000
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F231C #1C787F
analogous
#7F1C47 #7F231C #7F541C
triadic
#7F231C #1C7F23 #231C7F
tetradic
#7F231C #477F1C #1C787F #541C7F
square
#7F231C #477F1C #1C787F #541C7F
split-complementary
#7F231C #1C7F54 #1C477F
monochromatic
#1B0706 #4D1511 #7F231C #B13127 #D54B40
Accessibility & contrast
On white
9.72
#7F231C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#7F231C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F231C
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F231C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F231C | 1.00 | 9.72 | 2.16 | 9.72 |
| #FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E371A
Deuteranopia (green-blind)
#554B19
Tritanopia (blue-blind)
#8C0222
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7f231c; /* rgb */ color: rgb(127, 35, 28); /* oklch */ color: oklch(40.2% 0.128 28.5);
Tailwind
colors: {
custom: {
50: '#ab6458',
500: '#7f231c',
950: '#000000',
},
}SCSS
$custom: #7f231c; $custom-light: #ab6458; $custom-dark: #000000;
JSON
{
"hex": "#7f231c",
"rgb": {
"r": 127,
"g": 35,
"b": 28
},
"hsl": {
"h": 4.242,
"s": 63.871,
"l": 30.392
},
"oklch": {
"l": 0.40205,
"c": 0.12758,
"h": 28.5
},
"luminance": 0.05798
}Semantic roles & 50–950 ramp
primary
#7F231C
secondary
#44ABB3
accent
#DBE741
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78