#7F252F#7F252F
#7F252F is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.8% C 0.123 H 18.3°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).
Color values
| HEX | #7F252F |
|---|---|
| RGB | rgb(127, 37, 47) |
| HSL | hsl(353, 55%, 32%) |
| HSV | hsv(353, 71%, 50%) |
| CMYK | cmyk(0%, 70.9%, 63%, 50.2%) |
| CIE-LAB | lab(29.52, 39.28, 15.92) |
| CIE-LCH | lch(29.52, 42.38, 22.06°) |
| OKLab | oklab(40.77% 0.1171 0.0387) |
| OKLCH | oklch(40.77% 0.123 18.3) |
| XYZ | xyz(9.9280, 6.0418, 3.3322) |
| Luminance | 0.0604 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine
#722F37
ΔE00 4.34
Wine Red
#7B0323
ΔE00 4.35
Burgundy
#800020
ΔE00 4.50
Bordeaux
#7B002C
ΔE00 5.77
Red Wine
#8C0034
ΔE00 5.79
Claret
#680018
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F252F #257F75
analogous
#7F255C #7F252F #7F4825
triadic
#7F252F #2F7F25 #252F7F
tetradic
#7F252F #5C7F25 #257F75 #48257F
square
#7F252F #5C7F25 #257F75 #48257F
split-complementary
#7F252F #257F48 #255C7F
monochromatic
#20090C #50171D #7F252F #AE3341 #CD525F
Accessibility & contrast
On white
9.51
#7F252F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#7F252F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F252F
9.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F252F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F252F | 1.00 | 9.51 | 2.21 | 9.51 |
| #FFFFFF | 9.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D3A2F
Deuteranopia (green-blind)
#534C2D
Tritanopia (blue-blind)
#8B0F29
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7f252f; /* rgb */ color: rgb(127, 37, 47); /* oklch */ color: oklch(40.8% 0.123 18.3);
Tailwind
colors: {
custom: {
50: '#aa6667',
500: '#7f252f',
950: '#000000',
},
}SCSS
$custom: #7f252f; $custom-light: #aa6667; $custom-dark: #000000;
JSON
{
"hex": "#7f252f",
"rgb": {
"r": 127,
"g": 37,
"b": 47
},
"hsl": {
"h": 353.333,
"s": 54.878,
"l": 32.157
},
"oklch": {
"l": 0.40766,
"c": 0.1233,
"h": 18.3
},
"luminance": 0.0604
}Semantic roles & 50–950 ramp
primary
#7F252F
secondary
#4FB1A6
accent
#DECE4A
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A