#6C171B#6C171B
#6C171B is a dark, moderate red. Relative luminance 0.039; OKLCH L 35.3% C 0.118 H 23.4°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).
Color values
| HEX | #6C171B |
|---|---|
| RGB | rgb(108, 23, 27) |
| HSL | hsl(357, 65%, 26%) |
| HSV | hsv(357, 79%, 42%) |
| CMYK | cmyk(0%, 78.7%, 75%, 57.6%) |
| CIE-LAB | lab(23.27, 37.15, 20.49) |
| CIE-LCH | lch(23.27, 42.42, 28.88°) |
| OKLab | oklab(35.3% 0.1085 0.047) |
| OKLCH | oklch(35.3% 0.118 23.4) |
| XYZ | xyz(6.6893, 3.8811, 1.4336) |
| Luminance | 0.0388 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 3.60
Rosewood
#65000B
ΔE00 3.61
Burgundy
#800020
ΔE00 4.80
Wine Red
#7B0323
ΔE00 4.95
Reddy Brown
#6E1005
ΔE00 5.92
Blood
#770001
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C171B #176C68
analogous
#6C1745 #6C171B #6C3D17
triadic
#6C171B #1B6C17 #171B6C
tetradic
#6C171B #456C17 #176C68 #3D176C
square
#6C171B #456C17 #176C68 #3D176C
split-complementary
#6C171B #176C3D #17456C
monochromatic
#190506 #3A0C0E #6C171B #9E2228 #D12C34
Accessibility & contrast
On white
11.82
#6C171B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#6C171B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C171B
11.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C171B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C171B | 1.00 | 11.82 | 1.78 | 11.82 |
| #FFFFFF | 11.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#302C1A
Deuteranopia (green-blind)
#453E18
Tritanopia (blue-blind)
#770019
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #6c171b; /* rgb */ color: rgb(108, 23, 27); /* oklch */ color: oklch(35.3% 0.118 23.4);
Tailwind
colors: {
custom: {
50: '#9d5c57',
500: '#6c171b',
950: '#000000',
},
}SCSS
$custom: #6c171b; $custom-light: #9d5c57; $custom-dark: #000000;
JSON
{
"hex": "#6c171b",
"rgb": {
"r": 108,
"g": 23,
"b": 27
},
"hsl": {
"h": 357.176,
"s": 64.885,
"l": 25.686
},
"oklch": {
"l": 0.35296,
"c": 0.11826,
"h": 23.4
},
"luminance": 0.0388
}Semantic roles & 50–950 ramp
primary
#6C171B
secondary
#3DA29D
accent
#E8E040
background
#FAF5F5
surface
#F4E9E9
border
#CEC5C5
text
#100403
muted
#7F7978