#7F251F#7F251F
#7F251F is a dark, vivid red. Relative luminance 0.059; OKLCH L 40.5% C 0.125 H 27.9°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).
Color values
| HEX | #7F251F |
|---|---|
| RGB | rgb(127, 37, 31) |
| HSL | hsl(4, 61%, 31%) |
| HSV | hsv(4, 76%, 50%) |
| CMYK | cmyk(0%, 70.9%, 75.6%, 50.2%) |
| CIE-LAB | lab(29.25, 38.32, 25.84) |
| CIE-LCH | lch(29.25, 46.22, 34.00°) |
| OKLab | oklab(40.48% 0.1106 0.0585) |
| OKLCH | oklch(40.48% 0.125 27.9) |
| XYZ | xyz(9.6624, 5.9355, 1.9329) |
| Luminance | 0.0593 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 4.75
Indian Red
#850E04
ΔE00 5.50
Reddy Brown
#6E1005
ΔE00 5.74
Blood
#770001
ΔE00 5.80
Maroon
#800000
ΔE00 5.81
Dark Red
#840000
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F251F #1F797F
analogous
#7F1F49 #7F251F #7F551F
triadic
#7F251F #1F7F25 #251F7F
tetradic
#7F251F #497F1F #1F797F #551F7F
square
#7F251F #497F1F #1F797F #551F7F
split-complementary
#7F251F #1F7F55 #1F497F
monochromatic
#1D0807 #4E1713 #7F251F #B0332B #D24F46
Accessibility & contrast
On white
9.60
#7F251F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#7F251F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F251F
9.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F251F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F251F | 1.00 | 9.60 | 2.19 | 9.60 |
| #FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F381E
Deuteranopia (green-blind)
#554C1C
Tritanopia (blue-blind)
#8C0924
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7f251f; /* rgb */ color: rgb(127, 37, 31); /* oklch */ color: oklch(40.5% 0.125 27.9);
Tailwind
colors: {
custom: {
50: '#ab655b',
500: '#7f251f',
950: '#000000',
},
}SCSS
$custom: #7f251f; $custom-light: #ab655b; $custom-dark: #000000;
JSON
{
"hex": "#7f251f",
"rgb": {
"r": 127,
"g": 37,
"b": 31
},
"hsl": {
"h": 3.75,
"s": 60.759,
"l": 30.98
},
"oklch": {
"l": 0.40479,
"c": 0.12507,
"h": 27.9
},
"luminance": 0.05934
}Semantic roles & 50–950 ramp
primary
#7F251F
secondary
#48ABB2
accent
#DAE444
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79