#6B171F#6B171F
#6B171F is a dark, moderate red. Relative luminance 0.038; OKLCH L 35.2% C 0.117 H 20.7°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).
Color values
| HEX | #6B171F |
|---|---|
| RGB | rgb(107, 23, 31) |
| HSL | hsl(354, 65%, 25%) |
| HSV | hsv(354, 79%, 42%) |
| CMYK | cmyk(0%, 78.5%, 71%, 58%) |
| CIE-LAB | lab(23.13, 37.03, 17.59) |
| CIE-LCH | lch(23.13, 41.00, 25.41°) |
| OKLab | oklab(35.17% 0.1093 0.0413) |
| OKLCH | oklch(35.17% 0.117 20.7) |
| XYZ | xyz(6.6178, 3.8385, 1.6885) |
| Luminance | 0.0384 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 2.86
Wine Red
#7B0323
ΔE00 4.04
Burgundy
#800020
ΔE00 4.52
Rosewood
#65000B
ΔE00 4.66
Maroon (survey)
#650021
ΔE00 5.39
Bordeaux
#7B002C
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B171F #176B63
analogous
#6B1749 #6B171F #6B3917
triadic
#6B171F #1F6B17 #171F6B
tetradic
#6B171F #496B17 #176B63 #39176B
square
#6B171F #496B17 #176B63 #39176B
split-complementary
#6B171F #176B39 #17496B
monochromatic
#190507 #390C10 #6B171F #9D222E #D02D3C
Accessibility & contrast
On white
11.88
#6B171F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#6B171F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6B171F
11.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B171F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B171F | 1.00 | 11.88 | 1.77 | 11.88 |
| #FFFFFF | 11.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F2C1F
Deuteranopia (green-blind)
#443E1C
Tritanopia (blue-blind)
#76001B
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #6b171f; /* rgb */ color: rgb(107, 23, 31); /* oklch */ color: oklch(35.2% 0.117 20.7);
Tailwind
colors: {
custom: {
50: '#9c5c5a',
500: '#6b171f',
950: '#000000',
},
}SCSS
$custom: #6b171f; $custom-light: #9c5c5a; $custom-dark: #000000;
JSON
{
"hex": "#6b171f",
"rgb": {
"r": 107,
"g": 23,
"b": 31
},
"hsl": {
"h": 354.286,
"s": 64.615,
"l": 25.49
},
"oklch": {
"l": 0.35172,
"c": 0.11681,
"h": 20.7
},
"luminance": 0.03838
}Semantic roles & 50–950 ramp
primary
#6B171F
secondary
#3DA198
accent
#E8D840
background
#FAF5F5
surface
#F4E9E9
border
#CEC5C5
text
#0F0403
muted
#7F7978