#6C171A#6C171A

#6C171A is a dark, moderate red. Relative luminance 0.039; OKLCH L 35.3% C 0.118 H 24.0°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#6C171A
RGBrgb(108, 23, 26)
HSLhsl(358, 65%, 26%)
HSVhsv(358, 79%, 42%)
CMYKcmyk(0%, 78.7%, 75.9%, 57.6%)
CIE-LABlab(23.26, 37.10, 21.13)
CIE-LCHlch(23.26, 42.69, 29.66°)
OKLaboklab(35.28% 0.1081 0.0482)
OKLCHoklch(35.28% 0.118 24)
XYZxyz(6.6780, 3.8765, 1.3737)
Luminance0.0388 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C171A #176C69
analogous
#6C1744 #6C171A #6C3E17
triadic
#6C171A #1A6C17 #171A6C
tetradic
#6C171A #446C17 #176C69 #3E176C
square
#6C171A #446C17 #176C69 #3E176C
split-complementary
#6C171A #176C3E #17446C
monochromatic
#190506 #3A0C0E #6C171A #9E2226 #D12C32

Accessibility & contrast

On white

11.83
#6C171A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#6C171A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C171A
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C171A#FFFFFF#000000##FFFFFF
##6C171A1.0011.831.7811.83
#FFFFFF11.831.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c171a;
/* rgb */ color: rgb(108, 23, 26);
/* oklch */ color: oklch(35.3% 0.118 24.0);
Tailwind
colors: {
  custom: {
    50: '#9d5c56',
    500: '#6c171a',
    950: '#000000',
  },
}
SCSS
$custom: #6c171a;
$custom-light: #9d5c56;
$custom-dark: #000000;
JSON
{
  "hex": "#6c171a",
  "rgb": {
    "r": 108,
    "g": 23,
    "b": 26
  },
  "hsl": {
    "h": 357.882,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.35279,
    "c": 0.11836,
    "h": 24
  },
  "luminance": 0.03876
}

Semantic roles & 50–950 ramp

primary
#6C171A
secondary
#3DA29E
accent
#E8E240
background
#FAF5F5
surface
#F4E9E9
border
#CEC5C5
text
#100403
muted
#7F7978

Preview Lab

Preview with #6C171A

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

Preview Lab → · Contrast checker → · Palette generator →

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