#6C171F#6C171F

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

Color values

HEX#6C171F
RGBrgb(108, 23, 31)
HSLhsl(354, 65%, 26%)
HSVhsv(354, 79%, 42%)
CMYKcmyk(0%, 78.7%, 71.3%, 57.6%)
CIE-LABlab(23.34, 37.37, 17.90)
CIE-LCHlch(23.34, 41.44, 25.59°)
OKLaboklab(35.37% 0.1102 0.042)
OKLCHoklch(35.37% 0.118 20.9)
XYZxyz(6.7388, 3.9009, 1.6942)
Luminance0.0390 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C171F #176C64
analogous
#6C1749 #6C171F #6C3917
triadic
#6C171F #1F6C17 #171F6C
tetradic
#6C171F #496C17 #176C64 #39176C
square
#6C171F #496C17 #176C64 #39176C
split-complementary
#6C171F #176C39 #17496C
monochromatic
#190507 #3A0C11 #6C171F #9E222D #D12C3C

Accessibility & contrast

On white

11.80
#6C171F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C171F
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C171F#FFFFFF#000000##FFFFFF
##6C171F1.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302C1F
Deuteranopia (green-blind)
#453E1C
Tritanopia (blue-blind)
#77001B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #6c171f;
/* rgb */ color: rgb(108, 23, 31);
/* oklch */ color: oklch(35.4% 0.118 20.9);
Tailwind
colors: {
  custom: {
    50: '#9d5c5a',
    500: '#6c171f',
    950: '#000000',
  },
}
SCSS
$custom: #6c171f;
$custom-light: #9d5c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#6c171f",
  "rgb": {
    "r": 108,
    "g": 23,
    "b": 31
  },
  "hsl": {
    "h": 354.353,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.35367,
    "c": 0.1179,
    "h": 20.9
  },
  "luminance": 0.039
}

Semantic roles & 50–950 ramp

primary
#6C171F
secondary
#3DA298
accent
#E8D840
background
#FAF5F5
surface
#F4E9E9
border
#CEC5C5
text
#0F0403
muted
#7F7978

Preview Lab

Preview with #6C171F

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

Preview Lab → · Contrast checker → · Palette generator →

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