#6C171E#6C171E

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

Color values

HEX#6C171E
RGBrgb(108, 23, 30)
HSLhsl(355, 65%, 26%)
HSVhsv(355, 79%, 42%)
CMYKcmyk(0%, 78.7%, 72.2%, 57.6%)
CIE-LABlab(23.32, 37.31, 18.55)
CIE-LCHlch(23.32, 41.67, 26.43°)
OKLaboklab(35.35% 0.1098 0.0433)
OKLCHoklch(35.35% 0.118 21.5)
XYZxyz(6.7258, 3.8957, 1.6258)
Luminance0.0389 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C171E #176C65
analogous
#6C1748 #6C171E #6C3A17
triadic
#6C171E #1E6C17 #171E6C
tetradic
#6C171E #486C17 #176C65 #3A176C
square
#6C171E #486C17 #176C65 #3A176C
split-complementary
#6C171E #176C3A #17486C
monochromatic
#190507 #3A0C10 #6C171E #9E222C #D12C3A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C171E#FFFFFF#000000##FFFFFF
##6C171E1.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)
#302C1E
Deuteranopia (green-blind)
#453E1B
Tritanopia (blue-blind)
#77001A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #6c171e;
/* rgb */ color: rgb(108, 23, 30);
/* oklch */ color: oklch(35.3% 0.118 21.5);
Tailwind
colors: {
  custom: {
    50: '#9d5c59',
    500: '#6c171e',
    950: '#000000',
  },
}
SCSS
$custom: #6c171e;
$custom-light: #9d5c59;
$custom-dark: #000000;
JSON
{
  "hex": "#6c171e",
  "rgb": {
    "r": 108,
    "g": 23,
    "b": 30
  },
  "hsl": {
    "h": 355.059,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.35348,
    "c": 0.11797,
    "h": 21.5
  },
  "luminance": 0.03895
}

Semantic roles & 50–950 ramp

primary
#6C171E
secondary
#3DA29A
accent
#E8DA40
background
#FAF5F5
surface
#F4E9E9
border
#CEC5C5
text
#0F0403
muted
#7F7978

Preview Lab

Preview with #6C171E

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

Preview Lab → · Contrast checker → · Palette generator →

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