#6D171A#6D171A

#6D171A is a dark, moderate red. Relative luminance 0.039; OKLCH L 35.5% C 0.119 H 24.1°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#6D171A
RGBrgb(109, 23, 26)
HSLhsl(358, 65%, 26%)
HSVhsv(358, 79%, 43%)
CMYKcmyk(0%, 78.9%, 76.1%, 57.3%)
CIE-LABlab(23.47, 37.44, 21.43)
CIE-LCHlch(23.47, 43.14, 29.79°)
OKLaboklab(35.48% 0.1091 0.0488)
OKLCHoklch(35.48% 0.119 24.1)
XYZxyz(6.8003, 3.9396, 1.3794)
Luminance0.0394 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D171A #176D6A
analogous
#6D1745 #6D171A #6D3F17
triadic
#6D171A #1A6D17 #171A6D
tetradic
#6D171A #456D17 #176D6A #3F176D
square
#6D171A #456D17 #176D6A #3F176D
split-complementary
#6D171A #176D3F #17456D
monochromatic
#190506 #3A0C0E #6D171A #A02226 #D22C32

Accessibility & contrast

On white

11.75
#6D171A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D171A
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D171A#FFFFFF#000000##FFFFFF
##6D171A1.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312C19
Deuteranopia (green-blind)
#463F17
Tritanopia (blue-blind)
#780019
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #6d171a;
/* rgb */ color: rgb(109, 23, 26);
/* oklch */ color: oklch(35.5% 0.119 24.1);
Tailwind
colors: {
  custom: {
    50: '#9e5c56',
    500: '#6d171a',
    950: '#000000',
  },
}
SCSS
$custom: #6d171a;
$custom-light: #9e5c56;
$custom-dark: #000000;
JSON
{
  "hex": "#6d171a",
  "rgb": {
    "r": 109,
    "g": 23,
    "b": 26
  },
  "hsl": {
    "h": 357.907,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.35475,
    "c": 0.11946,
    "h": 24.1
  },
  "luminance": 0.03939
}

Semantic roles & 50–950 ramp

primary
#6D171A
secondary
#3DA39F
accent
#E8E240
background
#FAF5F5
surface
#F4E9E9
border
#CEC5C5
text
#100403
muted
#7F7978

Preview Lab

Preview with #6D171A

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

Preview Lab → · Contrast checker → · Palette generator →

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