#7F251B#7F251B
#7F251B is a dark, vivid red. Relative luminance 0.059; OKLCH L 40.4% C 0.126 H 29.8°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).
Color values
| HEX | #7F251B |
|---|---|
| RGB | rgb(127, 37, 27) |
| HSL | hsl(6, 65%, 30%) |
| HSV | hsv(6, 79%, 50%) |
| CMYK | cmyk(0%, 70.9%, 78.7%, 50.2%) |
| CIE-LAB | lab(29.20, 38.13, 28.21) |
| CIE-LCH | lch(29.20, 47.44, 36.50°) |
| OKLab | oklab(40.42% 0.1091 0.0626) |
| OKLCH | oklch(40.42% 0.126 29.8) |
| XYZ | xyz(9.6129, 5.9157, 1.6724) |
| Luminance | 0.0591 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Indian Red
#850E04
ΔE00 4.45
Crimson (survey)
#8C000F
ΔE00 4.53
Red Brown
#8B2E16
ΔE00 4.84
Maroon
#800000
ΔE00 5.00
Dark Red
#840000
ΔE00 5.05
Reddy Brown
#6E1005
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F251B #1B757F
analogous
#7F1B43 #7F251B #7F571B
triadic
#7F251B #1B7F25 #251B7F
tetradic
#7F251B #437F1B #1B757F #571B7F
square
#7F251B #437F1B #1B757F #571B7F
split-complementary
#7F251B #1B7F57 #1B437F
monochromatic
#1A0806 #4D1610 #7F251B #B13426 #D64E3E
Accessibility & contrast
On white
9.62
#7F251B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#7F251B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F251B
9.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F251B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F251B | 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)
#3F3819
Deuteranopia (green-blind)
#554C18
Tritanopia (blue-blind)
#8C0723
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7f251b; /* rgb */ color: rgb(127, 37, 27); /* oklch */ color: oklch(40.4% 0.126 29.8);
Tailwind
colors: {
custom: {
50: '#ab6558',
500: '#7f251b',
950: '#000000',
},
}SCSS
$custom: #7f251b; $custom-light: #ab6558; $custom-dark: #000000;
JSON
{
"hex": "#7f251b",
"rgb": {
"r": 127,
"g": 37,
"b": 27
},
"hsl": {
"h": 6,
"s": 64.935,
"l": 30.196
},
"oklch": {
"l": 0.40425,
"c": 0.12579,
"h": 29.8
},
"luminance": 0.05914
}Semantic roles & 50–950 ramp
primary
#7F251B
secondary
#43A8B3
accent
#D7E840
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78