#6C171D#6C171D

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

Color values

HEX#6C171D
RGBrgb(108, 23, 29)
HSLhsl(356, 65%, 26%)
HSVhsv(356, 79%, 42%)
CMYKcmyk(0%, 78.7%, 73.1%, 57.6%)
CIE-LABlab(23.31, 37.26, 19.20)
CIE-LCHlch(23.31, 41.91, 27.26°)
OKLaboklab(35.33% 0.1093 0.0445)
OKLCHoklch(35.33% 0.118 22.2)
XYZxyz(6.7133, 3.8907, 1.5596)
Luminance0.0389 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C171D #176C66
analogous
#6C1747 #6C171D #6C3B17
triadic
#6C171D #1D6C17 #171D6C
tetradic
#6C171D #476C17 #176C66 #3B176C
square
#6C171D #476C17 #176C66 #3B176C
split-complementary
#6C171D #176C3B #17476C
monochromatic
#190507 #3A0C0F #6C171D #9E222B #D12C38

Accessibility & contrast

On white

11.81
#6C171D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C171D
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C171D#FFFFFF#000000##FFFFFF
##6C171D1.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302C1C
Deuteranopia (green-blind)
#453E1A
Tritanopia (blue-blind)
#77001A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #6c171d;
/* rgb */ color: rgb(108, 23, 29);
/* oklch */ color: oklch(35.3% 0.118 22.2);
Tailwind
colors: {
  custom: {
    50: '#9d5c58',
    500: '#6c171d',
    950: '#000000',
  },
}
SCSS
$custom: #6c171d;
$custom-light: #9d5c58;
$custom-dark: #000000;
JSON
{
  "hex": "#6c171d",
  "rgb": {
    "r": 108,
    "g": 23,
    "b": 29
  },
  "hsl": {
    "h": 355.765,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.3533,
    "c": 0.11806,
    "h": 22.2
  },
  "luminance": 0.0389
}

Semantic roles & 50–950 ramp

primary
#6C171D
secondary
#3DA29B
accent
#E8DC40
background
#FAF5F5
surface
#F4E9E9
border
#CEC5C5
text
#0F0403
muted
#7F7978

Preview Lab

Preview with #6C171D

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

Preview Lab → · Contrast checker → · Palette generator →

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