#6C171B#6C171B

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

Color values

HEX#6C171B
RGBrgb(108, 23, 27)
HSLhsl(357, 65%, 26%)
HSVhsv(357, 79%, 42%)
CMYKcmyk(0%, 78.7%, 75%, 57.6%)
CIE-LABlab(23.27, 37.15, 20.49)
CIE-LCHlch(23.27, 42.42, 28.88°)
OKLaboklab(35.3% 0.1085 0.047)
OKLCHoklch(35.3% 0.118 23.4)
XYZxyz(6.6893, 3.8811, 1.4336)
Luminance0.0388 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C171B #176C68
analogous
#6C1745 #6C171B #6C3D17
triadic
#6C171B #1B6C17 #171B6C
tetradic
#6C171B #456C17 #176C68 #3D176C
square
#6C171B #456C17 #176C68 #3D176C
split-complementary
#6C171B #176C3D #17456C
monochromatic
#190506 #3A0C0E #6C171B #9E2228 #D12C34

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C171B#FFFFFF#000000##FFFFFF
##6C171B1.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)
#302C1A
Deuteranopia (green-blind)
#453E18
Tritanopia (blue-blind)
#770019
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #6c171b;
/* rgb */ color: rgb(108, 23, 27);
/* oklch */ color: oklch(35.3% 0.118 23.4);
Tailwind
colors: {
  custom: {
    50: '#9d5c57',
    500: '#6c171b',
    950: '#000000',
  },
}
SCSS
$custom: #6c171b;
$custom-light: #9d5c57;
$custom-dark: #000000;
JSON
{
  "hex": "#6c171b",
  "rgb": {
    "r": 108,
    "g": 23,
    "b": 27
  },
  "hsl": {
    "h": 357.176,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.35296,
    "c": 0.11826,
    "h": 23.4
  },
  "luminance": 0.0388
}

Semantic roles & 50–950 ramp

primary
#6C171B
secondary
#3DA29D
accent
#E8E040
background
#FAF5F5
surface
#F4E9E9
border
#CEC5C5
text
#100403
muted
#7F7978

Preview Lab

Preview with #6C171B

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

Preview Lab → · Contrast checker → · Palette generator →

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