#6D171B#6D171B

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

Color values

HEX#6D171B
RGBrgb(109, 23, 27)
HSLhsl(357, 65%, 26%)
HSVhsv(357, 79%, 43%)
CMYKcmyk(0%, 78.9%, 75.2%, 57.3%)
CIE-LABlab(23.49, 37.49, 20.79)
CIE-LCHlch(23.49, 42.87, 29.01°)
OKLaboklab(35.49% 0.1095 0.0476)
OKLCHoklch(35.49% 0.119 23.5)
XYZxyz(6.8117, 3.9442, 1.4393)
Luminance0.0394 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D171B #176D69
analogous
#6D1746 #6D171B #6D3E17
triadic
#6D171B #1B6D17 #171B6D
tetradic
#6D171B #466D17 #176D69 #3E176D
square
#6D171B #466D17 #176D69 #3E176D
split-complementary
#6D171B #176D3E #17466D
monochromatic
#190506 #3A0C0E #6D171B #A02228 #D22C34

Accessibility & contrast

On white

11.74
#6D171B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D171B
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D171B#FFFFFF#000000##FFFFFF
##6D171B1.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302C1A
Deuteranopia (green-blind)
#463F18
Tritanopia (blue-blind)
#780019
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #6d171b;
/* rgb */ color: rgb(109, 23, 27);
/* oklch */ color: oklch(35.5% 0.119 23.5);
Tailwind
colors: {
  custom: {
    50: '#9e5c57',
    500: '#6d171b',
    950: '#000000',
  },
}
SCSS
$custom: #6d171b;
$custom-light: #9e5c57;
$custom-dark: #000000;
JSON
{
  "hex": "#6d171b",
  "rgb": {
    "r": 109,
    "g": 23,
    "b": 27
  },
  "hsl": {
    "h": 357.209,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.35491,
    "c": 0.11935,
    "h": 23.5
  },
  "luminance": 0.03943
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6D171B

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

Preview Lab → · Contrast checker → · Palette generator →

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