#6C172A#6C172A

#6C172A is a dark, moderate red. Relative luminance 0.040; OKLCH L 35.6% C 0.118 H 13.0°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#6C172A
RGBrgb(108, 23, 42)
HSLhsl(347, 65%, 26%)
HSVhsv(347, 79%, 42%)
CMYKcmyk(0%, 78.7%, 61.1%, 57.6%)
CIE-LABlab(23.57, 38.12, 10.69)
CIE-LCHlch(23.57, 39.59, 15.66°)
OKLaboklab(35.61% 0.1149 0.0265)
OKLCHoklch(35.61% 0.118 13)
XYZxyz(6.9093, 3.9691, 2.5923)
Luminance0.0397 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C172A #176C59
analogous
#6C1754 #6C172A #6C2E17
triadic
#6C172A #2A6C17 #172A6C
tetradic
#6C172A #546C17 #176C59 #2E176C
square
#6C172A #546C17 #176C59 #2E176C
split-complementary
#6C172A #176C2E #17546C
monochromatic
#19050A #3A0C16 #6C172A #9E223E #D12C51

Accessibility & contrast

On white

11.71
#6C172A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#6C172A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C172A
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C172A#FFFFFF#000000##FFFFFF
##6C172A1.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2D2A
Deuteranopia (green-blind)
#443E28
Tritanopia (blue-blind)
#77001F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #6c172a;
/* rgb */ color: rgb(108, 23, 42);
/* oklch */ color: oklch(35.6% 0.118 13.0);
Tailwind
colors: {
  custom: {
    50: '#9c5c63',
    500: '#6c172a',
    950: '#000000',
  },
}
SCSS
$custom: #6c172a;
$custom-light: #9c5c63;
$custom-dark: #000000;
JSON
{
  "hex": "#6c172a",
  "rgb": {
    "r": 108,
    "g": 23,
    "b": 42
  },
  "hsl": {
    "h": 346.588,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.35609,
    "c": 0.11795,
    "h": 13
  },
  "luminance": 0.03968
}

Semantic roles & 50–950 ramp

primary
#6C172A
secondary
#3DA28B
accent
#E8C240
background
#FAF5F5
surface
#F4E9EA
border
#CEC5C6
text
#0F0405
muted
#7F7979

Preview Lab

Preview with #6C172A

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

Preview Lab → · Contrast checker → · Palette generator →

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