#6A171F#6A171F
#6A171F is a dark, moderate red. Relative luminance 0.038; OKLCH L 35.0% C 0.116 H 20.6°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).
Color values
| HEX | #6A171F |
|---|---|
| RGB | rgb(106, 23, 31) |
| HSL | hsl(354, 64%, 25%) |
| HSV | hsv(354, 78%, 42%) |
| CMYK | cmyk(0%, 78.3%, 70.8%, 58.4%) |
| CIE-LAB | lab(22.92, 36.69, 17.28) |
| CIE-LCH | lch(22.92, 40.56, 25.22°) |
| OKLab | oklab(34.98% 0.1083 0.0407) |
| OKLCH | oklch(34.98% 0.116 20.6) |
| XYZ | xyz(6.4983, 3.7769, 1.6829) |
| Luminance | 0.0378 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 2.82
Wine Red
#7B0323
ΔE00 4.16
Burgundy
#800020
ΔE00 4.70
Rosewood
#65000B
ΔE00 4.71
Maroon (survey)
#650021
ΔE00 5.26
Bordeaux
#7B002C
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A171F #176A62
analogous
#6A1748 #6A171F #6A3817
triadic
#6A171F #1F6A17 #171F6A
tetradic
#6A171F #486A17 #176A62 #38176A
square
#6A171F #486A17 #176A62 #38176A
split-complementary
#6A171F #176A38 #17486A
monochromatic
#190507 #380C10 #6A171F #9C222E #CF2D3C
Accessibility & contrast
On white
11.96
#6A171F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#6A171F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A171F
11.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A171F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A171F | 1.00 | 11.96 | 1.76 | 11.96 |
| #FFFFFF | 11.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F2B1F
Deuteranopia (green-blind)
#443D1C
Tritanopia (blue-blind)
#75001B
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #6a171f; /* rgb */ color: rgb(106, 23, 31); /* oklch */ color: oklch(35.0% 0.116 20.6);
Tailwind
colors: {
custom: {
50: '#9b5c5a',
500: '#6a171f',
950: '#000000',
},
}SCSS
$custom: #6a171f; $custom-light: #9b5c5a; $custom-dark: #000000;
JSON
{
"hex": "#6a171f",
"rgb": {
"r": 106,
"g": 23,
"b": 31
},
"hsl": {
"h": 354.217,
"s": 64.341,
"l": 25.294
},
"oklch": {
"l": 0.34977,
"c": 0.1157,
"h": 20.6
},
"luminance": 0.03776
}Semantic roles & 50–950 ramp
primary
#6A171F
secondary
#3DA097
accent
#E7D740
background
#FAF5F5
surface
#F4E9E9
border
#CEC5C5
text
#0F0403
muted
#7F7978