#6B171D#6B171D

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

Color values

HEX#6B171D
RGBrgb(107, 23, 29)
HSLhsl(356, 65%, 25%)
HSVhsv(356, 79%, 42%)
CMYKcmyk(0%, 78.5%, 72.9%, 58%)
CIE-LABlab(23.10, 36.92, 18.89)
CIE-LCHlch(23.10, 41.47, 27.10°)
OKLaboklab(35.14% 0.1084 0.0439)
OKLCHoklch(35.14% 0.117 22)
XYZxyz(6.5923, 3.8283, 1.5540)
Luminance0.0383 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B171D #176B65
analogous
#6B1747 #6B171D #6B3B17
triadic
#6B171D #1D6B17 #171D6B
tetradic
#6B171D #476B17 #176B65 #3B176B
square
#6B171D #476B17 #176B65 #3B176B
split-complementary
#6B171D #176B3B #17476B
monochromatic
#190507 #390C0F #6B171D #9D222B #D02D38

Accessibility & contrast

On white

11.90
#6B171D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B171D
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B171D#FFFFFF#000000##FFFFFF
##6B171D1.0011.901.7711.90
#FFFFFF11.901.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b171d;
/* rgb */ color: rgb(107, 23, 29);
/* oklch */ color: oklch(35.1% 0.117 22.0);
Tailwind
colors: {
  custom: {
    50: '#9c5c58',
    500: '#6b171d',
    950: '#000000',
  },
}
SCSS
$custom: #6b171d;
$custom-light: #9c5c58;
$custom-dark: #000000;
JSON
{
  "hex": "#6b171d",
  "rgb": {
    "r": 107,
    "g": 23,
    "b": 29
  },
  "hsl": {
    "h": 355.714,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.35135,
    "c": 0.11695,
    "h": 22
  },
  "luminance": 0.03827
}

Semantic roles & 50–950 ramp

primary
#6B171D
secondary
#3DA19A
accent
#E8DC40
background
#FAF5F5
surface
#F4E9E9
border
#CEC5C5
text
#0F0403
muted
#7F7978

Preview Lab

Preview with #6B171D

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

Preview Lab → · Contrast checker → · Palette generator →

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