#6A172A#6A172A
#6A172A is a dark, moderate red. Relative luminance 0.038; OKLCH L 35.2% C 0.116 H 12.5°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).
Color values
| HEX | #6A172A |
|---|---|
| RGB | rgb(106, 23, 42) |
| HSL | hsl(346, 64%, 25%) |
| HSV | hsv(346, 78%, 42%) |
| CMYK | cmyk(0%, 78.3%, 60.4%, 58.4%) |
| CIE-LAB | lab(23.15, 37.46, 10.05) |
| CIE-LCH | lch(23.15, 38.79, 15.02°) |
| OKLab | oklab(35.23% 0.1131 0.0251) |
| OKLCH | oklch(35.23% 0.116 12.5) |
| XYZ | xyz(6.6688, 3.8451, 2.5811) |
| Luminance | 0.0384 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Maroon (survey)
#650021
ΔE00 3.00
Burgundy (survey)
#610023
ΔE00 3.60
Bordeaux
#7B002C
ΔE00 3.91
Wine Red
#7B0323
ΔE00 4.88
Claret
#680018
ΔE00 5.15
Wine
#722F37
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A172A #176A57
analogous
#6A1753 #6A172A #6A2D17
triadic
#6A172A #2A6A17 #172A6A
tetradic
#6A172A #536A17 #176A57 #2D176A
square
#6A172A #536A17 #176A57 #2D176A
split-complementary
#6A172A #176A2D #17536A
monochromatic
#19050A #380C16 #6A172A #9C223E #CF2D52
Accessibility & contrast
On white
11.87
#6A172A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#6A172A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A172A
11.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A172A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A172A | 1.00 | 11.87 | 1.77 | 11.87 |
| #FFFFFF | 11.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D2C2A
Deuteranopia (green-blind)
#423D28
Tritanopia (blue-blind)
#74001F
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #6a172a; /* rgb */ color: rgb(106, 23, 42); /* oklch */ color: oklch(35.2% 0.116 12.5);
Tailwind
colors: {
custom: {
50: '#9a5c63',
500: '#6a172a',
950: '#000000',
},
}SCSS
$custom: #6a172a; $custom-light: #9a5c63; $custom-dark: #000000;
JSON
{
"hex": "#6a172a",
"rgb": {
"r": 106,
"g": 23,
"b": 42
},
"hsl": {
"h": 346.265,
"s": 64.341,
"l": 25.294
},
"oklch": {
"l": 0.35225,
"c": 0.11583,
"h": 12.5
},
"luminance": 0.03844
}Semantic roles & 50–950 ramp
primary
#6A172A
secondary
#3DA089
accent
#E7C140
background
#FAF5F5
surface
#F3E9EA
border
#CDC5C6
text
#0F0405
muted
#7F7979