#6B171E#6B171E

#6B171E is a dark, moderate red. Relative luminance 0.038; OKLCH L 35.2% C 0.117 H 21.4°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#6B171E
RGBrgb(107, 23, 30)
HSLhsl(355, 65%, 25%)
HSVhsv(355, 79%, 42%)
CMYKcmyk(0%, 78.5%, 72%, 58%)
CIE-LABlab(23.11, 36.98, 18.24)
CIE-LCHlch(23.11, 41.23, 26.26°)
OKLaboklab(35.15% 0.1088 0.0426)
OKLCHoklch(35.15% 0.117 21.4)
XYZxyz(6.6049, 3.8333, 1.6202)
Luminance0.0383 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B171E #176B64
analogous
#6B1748 #6B171E #6B3A17
triadic
#6B171E #1E6B17 #171E6B
tetradic
#6B171E #486B17 #176B64 #3A176B
square
#6B171E #486B17 #176B64 #3A176B
split-complementary
#6B171E #176B3A #17486B
monochromatic
#190507 #390C10 #6B171E #9D222C #D02D3A

Accessibility & contrast

On white

11.89
#6B171E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#6B171E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B171E
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B171E#FFFFFF#000000##FFFFFF
##6B171E1.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2C1E
Deuteranopia (green-blind)
#443E1B
Tritanopia (blue-blind)
#76001A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #6b171e;
/* rgb */ color: rgb(107, 23, 30);
/* oklch */ color: oklch(35.2% 0.117 21.4);
Tailwind
colors: {
  custom: {
    50: '#9c5c59',
    500: '#6b171e',
    950: '#000000',
  },
}
SCSS
$custom: #6b171e;
$custom-light: #9c5c59;
$custom-dark: #000000;
JSON
{
  "hex": "#6b171e",
  "rgb": {
    "r": 107,
    "g": 23,
    "b": 30
  },
  "hsl": {
    "h": 355,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.35153,
    "c": 0.11687,
    "h": 21.4
  },
  "luminance": 0.03832
}

Semantic roles & 50–950 ramp

primary
#6B171E
secondary
#3DA199
accent
#E8DA40
background
#FAF5F5
surface
#F4E9E9
border
#CEC5C5
text
#0F0403
muted
#7F7978

Preview Lab

Preview with #6B171E

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

Preview Lab → · Contrast checker → · Palette generator →

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