#7F2138#7F2138
#7F2138 is a dark, vivid red. Relative luminance 0.059; OKLCH L 40.5% C 0.128 H 10.7°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2138 |
|---|---|
| RGB | rgb(127, 33, 56) |
| HSL | hsl(345, 59%, 31%) |
| HSV | hsv(345, 74%, 50%) |
| CMYK | cmyk(0%, 74%, 55.9%, 50.2%) |
| CIE-LAB | lab(29.12, 41.63, 9.43) |
| CIE-LCH | lch(29.12, 42.68, 12.77°) |
| OKLab | oklab(40.54% 0.1261 0.0239) |
| OKLCH | oklch(40.54% 0.128 10.7) |
| XYZ | xyz(10.0110, 5.8866, 4.3497) |
| Luminance | 0.0588 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Wine
#8C0034
ΔE00 3.70
Bordeaux
#7B002C
ΔE00 3.88
Wine
#722F37
ΔE00 4.54
Wine Red
#7B0323
ΔE00 5.52
Wine (survey)
#80013F
ΔE00 5.94
Cranberry
#9E003A
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2138 #217F68
analogous
#7F2167 #7F2138 #7F3921
triadic
#7F2138 #387F21 #21387F
tetradic
#7F2138 #677F21 #217F68 #39217F
square
#7F2138 #677F21 #217F68 #39217F
split-complementary
#7F2138 #217F39 #21677F
monochromatic
#1E080D #4E1423 #7F2138 #B02E4D #D04A6B
Accessibility & contrast
On white
9.65
#7F2138 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#7F2138 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2138
9.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2138 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2138 | 1.00 | 9.65 | 2.18 | 9.65 |
| #FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383838
Deuteranopia (green-blind)
#514C36
Tritanopia (blue-blind)
#8B0B2A
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7f2138; /* rgb */ color: rgb(127, 33, 56); /* oklch */ color: oklch(40.5% 0.128 10.7);
Tailwind
colors: {
custom: {
50: '#a9646e',
500: '#7f2138',
950: '#000000',
},
}SCSS
$custom: #7f2138; $custom-light: #a9646e; $custom-dark: #000000;
JSON
{
"hex": "#7f2138",
"rgb": {
"r": 127,
"g": 33,
"b": 56
},
"hsl": {
"h": 345.319,
"s": 58.75,
"l": 31.373
},
"oklch": {
"l": 0.40539,
"c": 0.12837,
"h": 10.7
},
"luminance": 0.05885
}Semantic roles & 50–950 ramp
primary
#7F2138
secondary
#4AB298
accent
#E2BC46
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110607
muted
#807A7A