#7F2135#7F2135
#7F2135 is a dark, vivid red. Relative luminance 0.059; OKLCH L 40.5% C 0.128 H 12.8°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2135 |
|---|---|
| RGB | rgb(127, 33, 53) |
| HSL | hsl(347, 59%, 31%) |
| HSV | hsv(347, 74%, 50%) |
| CMYK | cmyk(0%, 74%, 58.3%, 50.2%) |
| CIE-LAB | lab(29.05, 41.38, 11.33) |
| CIE-LCH | lch(29.05, 42.90, 15.31°) |
| OKLab | oklab(40.46% 0.1249 0.0283) |
| OKLCH | oklch(40.46% 0.128 12.8) |
| XYZ | xyz(9.9398, 5.8582, 3.9748) |
| Luminance | 0.0586 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Wine
#8C0034
ΔE00 3.77
Bordeaux
#7B002C
ΔE00 3.85
Wine
#722F37
ΔE00 4.25
Wine Red
#7B0323
ΔE00 4.71
Burgundy
#800020
ΔE00 5.74
Cranberry
#9E003A
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2135 #217F6B
analogous
#7F2164 #7F2135 #7F3C21
triadic
#7F2135 #357F21 #21357F
tetradic
#7F2135 #647F21 #217F6B #3C217F
square
#7F2135 #647F21 #217F6B #3C217F
split-complementary
#7F2135 #217F3C #21647F
monochromatic
#1E080C #4E1421 #7F2135 #B02E49 #D04A67
Accessibility & contrast
On white
9.67
#7F2135 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#7F2135 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2135
9.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2135 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2135 | 1.00 | 9.67 | 2.17 | 9.67 |
| #FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#393835
Deuteranopia (green-blind)
#514C33
Tritanopia (blue-blind)
#8B0929
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7f2135; /* rgb */ color: rgb(127, 33, 53); /* oklch */ color: oklch(40.5% 0.128 12.8);
Tailwind
colors: {
custom: {
50: '#aa646c',
500: '#7f2135',
950: '#000000',
},
}SCSS
$custom: #7f2135; $custom-light: #aa646c; $custom-dark: #000000;
JSON
{
"hex": "#7f2135",
"rgb": {
"r": 127,
"g": 33,
"b": 53
},
"hsl": {
"h": 347.234,
"s": 58.75,
"l": 31.373
},
"oklch": {
"l": 0.40462,
"c": 0.12805,
"h": 12.8
},
"luminance": 0.05857
}Semantic roles & 50–950 ramp
primary
#7F2135
secondary
#4AB29C
accent
#E2C146
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A