#7F251C#7F251C
#7F251C is a dark, vivid red. Relative luminance 0.059; OKLCH L 40.4% C 0.126 H 29.4°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).
Color values
| HEX | #7F251C |
|---|---|
| RGB | rgb(127, 37, 28) |
| HSL | hsl(5, 64%, 30%) |
| HSV | hsv(5, 78%, 50%) |
| CMYK | cmyk(0%, 70.9%, 78%, 50.2%) |
| CIE-LAB | lab(29.21, 38.18, 27.63) |
| CIE-LCH | lch(29.21, 47.13, 35.89°) |
| OKLab | oklab(40.44% 0.1095 0.0616) |
| OKLCH | oklch(40.44% 0.126 29.4) |
| XYZ | xyz(9.6246, 5.9204, 1.7343) |
| Luminance | 0.0592 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 4.54
Indian Red
#850E04
ΔE00 4.69
Red Brown
#8B2E16
ΔE00 5.11
Maroon
#800000
ΔE00 5.17
Reddy Brown
#6E1005
ΔE00 5.24
Dark Red
#840000
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F251C #1C767F
analogous
#7F1C44 #7F251C #7F571C
triadic
#7F251C #1C7F25 #251C7F
tetradic
#7F251C #447F1C #1C767F #571C7F
square
#7F251C #447F1C #1C767F #571C7F
split-complementary
#7F251C #1C7F57 #1C447F
monochromatic
#1B0806 #4D1611 #7F251C #B13427 #D54E40
Accessibility & contrast
On white
9.62
#7F251C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#7F251C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F251C
9.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F251C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F251C | 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)
#3F381A
Deuteranopia (green-blind)
#554C19
Tritanopia (blue-blind)
#8C0824
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7f251c; /* rgb */ color: rgb(127, 37, 28); /* oklch */ color: oklch(40.4% 0.126 29.4);
Tailwind
colors: {
custom: {
50: '#ab6559',
500: '#7f251c',
950: '#000000',
},
}SCSS
$custom: #7f251c; $custom-light: #ab6559; $custom-dark: #000000;
JSON
{
"hex": "#7f251c",
"rgb": {
"r": 127,
"g": 37,
"b": 28
},
"hsl": {
"h": 5.455,
"s": 63.871,
"l": 30.392
},
"oklch": {
"l": 0.40438,
"c": 0.12561,
"h": 29.4
},
"luminance": 0.05919
}Semantic roles & 50–950 ramp
primary
#7F251C
secondary
#44A9B3
accent
#D8E741
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78