#7F251A#7F251A
#7F251A is a dark, vivid red. Relative luminance 0.059; OKLCH L 40.4% C 0.126 H 30.3°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).
Color values
| HEX | #7F251A |
|---|---|
| RGB | rgb(127, 37, 26) |
| HSL | hsl(7, 66%, 30%) |
| HSV | hsv(7, 80%, 50%) |
| CMYK | cmyk(0%, 70.9%, 79.5%, 50.2%) |
| CIE-LAB | lab(29.19, 38.09, 28.79) |
| CIE-LCH | lch(29.19, 47.75, 37.09°) |
| OKLab | oklab(40.41% 0.1088 0.0636) |
| OKLCH | oklch(40.41% 0.126 30.3) |
| XYZ | xyz(9.6015, 5.9112, 1.6125) |
| Luminance | 0.0591 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Indian Red
#850E04
ΔE00 4.24
Crimson (survey)
#8C000F
ΔE00 4.55
Red Brown
#8B2E16
ΔE00 4.58
Maroon
#800000
ΔE00 4.84
Dark Red
#840000
ΔE00 4.88
Reddy Brown
#6E1005
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F251A #1A747F
analogous
#7F1A41 #7F251A #7F581A
triadic
#7F251A #1A7F25 #251A7F
tetradic
#7F251A #417F1A #1A747F #581A7F
square
#7F251A #417F1A #1A747F #581A7F
split-complementary
#7F251A #1A7F58 #1A417F
monochromatic
#190705 #4C1610 #7F251A #B23424 #D74D3C
Accessibility & contrast
On white
9.62
#7F251A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#7F251A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F251A
9.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F251A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F251A | 1.00 | 9.62 | 2.18 | 9.62 |
| #FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F3818
Deuteranopia (green-blind)
#554C17
Tritanopia (blue-blind)
#8C0723
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7f251a; /* rgb */ color: rgb(127, 37, 26); /* oklch */ color: oklch(40.4% 0.126 30.3);
Tailwind
colors: {
custom: {
50: '#ab6557',
500: '#7f251a',
950: '#000000',
},
}SCSS
$custom: #7f251a; $custom-light: #ab6557; $custom-dark: #000000;
JSON
{
"hex": "#7f251a",
"rgb": {
"r": 127,
"g": 37,
"b": 26
},
"hsl": {
"h": 6.535,
"s": 66.013,
"l": 30
},
"oklch": {
"l": 0.40412,
"c": 0.12598,
"h": 30.3
},
"luminance": 0.0591
}Semantic roles & 50–950 ramp
primary
#7F251A
secondary
#42A7B3
accent
#D6E93F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78