#7F121F#7F121F
#7F121F is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.7% C 0.142 H 21.7°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).
Color values
| HEX | #7F121F |
|---|---|
| RGB | rgb(127, 18, 31) |
| HSL | hsl(353, 75%, 28%) |
| HSV | hsv(353, 86%, 50%) |
| CMYK | cmyk(0%, 85.8%, 75.6%, 50.2%) |
| CIE-LAB | lab(26.86, 44.96, 23.10) |
| CIE-LCH | lch(26.86, 50.55, 27.19°) |
| OKLab | oklab(38.7% 0.1316 0.0525) |
| OKLCH | oklch(38.7% 0.142 21.7) |
| XYZ | xyz(9.2171, 5.0451, 1.7845) |
| Luminance | 0.0504 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 2.27
Wine Red
#7B0323
ΔE00 3.64
Claret
#680018
ΔE00 5.38
Crimson (survey)
#8C000F
ΔE00 5.49
Rosewood
#65000B
ΔE00 5.99
Blood
#770001
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F121F #127F72
analogous
#7F1255 #7F121F #7F3B12
triadic
#7F121F #1F7F12 #121F7F
tetradic
#7F121F #557F12 #127F72 #3B127F
square
#7F121F #557F12 #127F72 #3B127F
split-complementary
#7F121F #127F3B #12557F
monochromatic
#1B0407 #490A12 #7F121F #B51A2C #E12B40
Accessibility & contrast
On white
10.45
#7F121F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#7F121F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F121F
10.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F121F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F121F | 1.00 | 10.45 | 2.01 | 10.45 |
| #FFFFFF | 10.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#35311E
Deuteranopia (green-blind)
#50481B
Tritanopia (blue-blind)
#8C0018
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #7f121f; /* rgb */ color: rgb(127, 18, 31); /* oklch */ color: oklch(38.7% 0.142 21.7);
Tailwind
colors: {
custom: {
50: '#ac5e5a',
500: '#7f121f',
950: '#000000',
},
}SCSS
$custom: #7f121f; $custom-light: #ac5e5a; $custom-dark: #000000;
JSON
{
"hex": "#7f121f",
"rgb": {
"r": 127,
"g": 18,
"b": 31
},
"hsl": {
"h": 352.844,
"s": 75.172,
"l": 28.431
},
"oklch": {
"l": 0.38702,
"c": 0.14169,
"h": 21.7
},
"luminance": 0.05044
}Semantic roles & 50–950 ramp
primary
#7F121F
secondary
#38B5A6
accent
#F2DB36
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120503
muted
#817978