#7F172B#7F172B
#7F172B is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.3% C 0.137 H 16.3°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).
Color values
| HEX | #7F172B |
|---|---|
| RGB | rgb(127, 23, 43) |
| HSL | hsl(348, 69%, 29%) |
| HSV | hsv(348, 82%, 50%) |
| CMYK | cmyk(0%, 81.9%, 66.1%, 50.2%) |
| CIE-LAB | lab(27.57, 44.19, 16.04) |
| CIE-LCH | lch(27.57, 47.01, 19.95°) |
| OKLab | oklab(39.3% 0.132 0.0386) |
| OKLCH | oklch(39.3% 0.137 16.3) |
| XYZ | xyz(9.4959, 5.3007, 2.8082) |
| Luminance | 0.0530 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 2.26
Burgundy
#800020
ΔE00 2.97
Bordeaux
#7B002C
ΔE00 3.73
Red Wine
#8C0034
ΔE00 4.22
Wine
#722F37
ΔE00 5.67
Claret
#680018
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F172B #177F6B
analogous
#7F175F #7F172B #7F3717
triadic
#7F172B #2B7F17 #172B7F
tetradic
#7F172B #5F7F17 #177F6B #37177F
square
#7F172B #5F7F17 #177F6B #37177F
split-complementary
#7F172B #177F37 #175F7F
monochromatic
#1A0509 #4B0E19 #7F172B #B3203D #DB3656
Accessibility & contrast
On white
10.20
#7F172B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#7F172B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F172B
10.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F172B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F172B | 1.00 | 10.20 | 2.06 | 10.20 |
| #FFFFFF | 10.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#36332B
Deuteranopia (green-blind)
#504928
Tritanopia (blue-blind)
#8C0020
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7f172b; /* rgb */ color: rgb(127, 23, 43); /* oklch */ color: oklch(39.3% 0.137 16.3);
Tailwind
colors: {
custom: {
50: '#ab6064',
500: '#7f172b',
950: '#000000',
},
}SCSS
$custom: #7f172b; $custom-light: #ab6064; $custom-dark: #000000;
JSON
{
"hex": "#7f172b",
"rgb": {
"r": 127,
"g": 23,
"b": 43
},
"hsl": {
"h": 348.462,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.39296,
"c": 0.13748,
"h": 16.3
},
"luminance": 0.05299
}Semantic roles & 50–950 ramp
primary
#7F172B
secondary
#3EB49D
accent
#ECCA3C
background
#FBF5F5
surface
#F6EAEA
border
#D0C6C6
text
#110505
muted
#807979