#6C171C#6C171C

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

Color values

HEX#6C171C
RGBrgb(108, 23, 28)
HSLhsl(356, 65%, 26%)
HSVhsv(356, 79%, 42%)
CMYKcmyk(0%, 78.7%, 74.1%, 57.6%)
CIE-LABlab(23.29, 37.20, 19.84)
CIE-LCHlch(23.29, 42.16, 28.08°)
OKLaboklab(35.31% 0.1089 0.0458)
OKLCHoklch(35.31% 0.118 22.8)
XYZxyz(6.7011, 3.8858, 1.4956)
Luminance0.0389 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C171C #176C67
analogous
#6C1746 #6C171C #6C3C17
triadic
#6C171C #1C6C17 #171C6C
tetradic
#6C171C #466C17 #176C67 #3C176C
square
#6C171C #466C17 #176C67 #3C176C
split-complementary
#6C171C #176C3C #17466C
monochromatic
#190507 #3A0C0F #6C171C #9E2229 #D12C36

Accessibility & contrast

On white

11.82
#6C171C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C171C
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C171C#FFFFFF#000000##FFFFFF
##6C171C1.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302C1B
Deuteranopia (green-blind)
#453E19
Tritanopia (blue-blind)
#77001A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #6c171c;
/* rgb */ color: rgb(108, 23, 28);
/* oklch */ color: oklch(35.3% 0.118 22.8);
Tailwind
colors: {
  custom: {
    50: '#9d5c58',
    500: '#6c171c',
    950: '#000000',
  },
}
SCSS
$custom: #6c171c;
$custom-light: #9d5c58;
$custom-dark: #000000;
JSON
{
  "hex": "#6c171c",
  "rgb": {
    "r": 108,
    "g": 23,
    "b": 28
  },
  "hsl": {
    "h": 356.471,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.35313,
    "c": 0.11816,
    "h": 22.8
  },
  "luminance": 0.03885
}

Semantic roles & 50–950 ramp

primary
#6C171C
secondary
#3DA29C
accent
#E8DE40
background
#FAF5F5
surface
#F4E9E9
border
#CEC5C5
text
#0F0403
muted
#7F7978

Preview Lab

Preview with #6C171C

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

Preview Lab → · Contrast checker → · Palette generator →

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