#6B171A#6B171A

#6B171A is a dark, moderate red. Relative luminance 0.038; OKLCH L 35.1% C 0.117 H 23.9°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#6B171A
RGBrgb(107, 23, 26)
HSLhsl(358, 65%, 25%)
HSVhsv(358, 79%, 42%)
CMYKcmyk(0%, 78.5%, 75.7%, 58%)
CIE-LABlab(23.05, 36.76, 20.83)
CIE-LCHlch(23.05, 42.25, 29.54°)
OKLaboklab(35.08% 0.1072 0.0476)
OKLCHoklch(35.08% 0.117 23.9)
XYZxyz(6.5570, 3.8142, 1.3680)
Luminance0.0381 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B171A #176B68
analogous
#6B1744 #6B171A #6B3E17
triadic
#6B171A #1A6B17 #171A6B
tetradic
#6B171A #446B17 #176B68 #3E176B
square
#6B171A #446B17 #176B68 #3E176B
split-complementary
#6B171A #176B3E #17446B
monochromatic
#190506 #390C0E #6B171A #9D2226 #D02D32

Accessibility & contrast

On white

11.91
#6B171A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#6B171A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B171A
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B171A#FFFFFF#000000##FFFFFF
##6B171A1.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302B19
Deuteranopia (green-blind)
#453E17
Tritanopia (blue-blind)
#760019
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #6b171a;
/* rgb */ color: rgb(107, 23, 26);
/* oklch */ color: oklch(35.1% 0.117 23.9);
Tailwind
colors: {
  custom: {
    50: '#9c5c56',
    500: '#6b171a',
    950: '#000000',
  },
}
SCSS
$custom: #6b171a;
$custom-light: #9c5c56;
$custom-dark: #000000;
JSON
{
  "hex": "#6b171a",
  "rgb": {
    "r": 107,
    "g": 23,
    "b": 26
  },
  "hsl": {
    "h": 357.857,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.35084,
    "c": 0.11727,
    "h": 23.9
  },
  "luminance": 0.03813
}

Semantic roles & 50–950 ramp

primary
#6B171A
secondary
#3DA19D
accent
#E8E240
background
#FAF5F5
surface
#F4E9E9
border
#CEC5C5
text
#0F0403
muted
#7F7978

Preview Lab

Preview with #6B171A

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#6B171A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva