#6B171B#6B171B
#6B171B is a dark, moderate red. Relative luminance 0.038; OKLCH L 35.1% C 0.117 H 23.3°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).
Color values
| HEX | #6B171B |
|---|---|
| RGB | rgb(107, 23, 27) |
| HSL | hsl(357, 65%, 25%) |
| HSV | hsv(357, 79%, 42%) |
| CMYK | cmyk(0%, 78.5%, 74.8%, 58%) |
| CIE-LAB | lab(23.06, 36.81, 20.19) |
| CIE-LCH | lch(23.06, 41.98, 28.74°) |
| OKLab | oklab(35.1% 0.1076 0.0464) |
| OKLCH | oklch(35.1% 0.117 23.3) |
| XYZ | xyz(6.5684, 3.8187, 1.4279) |
| Luminance | 0.0382 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 3.51
Rosewood
#65000B
ΔE00 3.60
Burgundy
#800020
ΔE00 4.92
Wine Red
#7B0323
ΔE00 5.01
Reddy Brown
#6E1005
ΔE00 6.03
Blood
#770001
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B171B #176B67
analogous
#6B1745 #6B171B #6B3D17
triadic
#6B171B #1B6B17 #171B6B
tetradic
#6B171B #456B17 #176B67 #3D176B
square
#6B171B #456B17 #176B67 #3D176B
split-complementary
#6B171B #176B3D #17456B
monochromatic
#190506 #390C0E #6B171B #9D2228 #D02D34
Accessibility & contrast
On white
11.91
#6B171B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#6B171B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6B171B
11.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B171B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B171B | 1.00 | 11.91 | 1.76 | 11.91 |
| #FFFFFF | 11.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#302B1A
Deuteranopia (green-blind)
#453E18
Tritanopia (blue-blind)
#760019
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #6b171b; /* rgb */ color: rgb(107, 23, 27); /* oklch */ color: oklch(35.1% 0.117 23.3);
Tailwind
colors: {
custom: {
50: '#9c5c57',
500: '#6b171b',
950: '#000000',
},
}SCSS
$custom: #6b171b; $custom-light: #9c5c57; $custom-dark: #000000;
JSON
{
"hex": "#6b171b",
"rgb": {
"r": 107,
"g": 23,
"b": 27
},
"hsl": {
"h": 357.143,
"s": 64.615,
"l": 25.49
},
"oklch": {
"l": 0.351,
"c": 0.11715,
"h": 23.3
},
"luminance": 0.03818
}Semantic roles & 50–950 ramp
primary
#6B171B
secondary
#3DA19C
accent
#E8E040
background
#FAF5F5
surface
#F4E9E9
border
#CEC5C5
text
#0F0403
muted
#7F7978