#6B171C#6B171C

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

Color values

HEX#6B171C
RGBrgb(107, 23, 28)
HSLhsl(356, 65%, 25%)
HSVhsv(356, 79%, 42%)
CMYKcmyk(0%, 78.5%, 73.8%, 58%)
CIE-LABlab(23.08, 36.86, 19.54)
CIE-LCHlch(23.08, 41.72, 27.93°)
OKLaboklab(35.12% 0.108 0.0452)
OKLCHoklch(35.12% 0.117 22.7)
XYZxyz(6.5801, 3.8234, 1.4899)
Luminance0.0382 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B171C #176B66
analogous
#6B1746 #6B171C #6B3C17
triadic
#6B171C #1C6B17 #171C6B
tetradic
#6B171C #466B17 #176B66 #3C176B
square
#6B171C #466B17 #176B66 #3C176B
split-complementary
#6B171C #176B3C #17466B
monochromatic
#190507 #390C0F #6B171C #9D2229 #D02D36

Accessibility & contrast

On white

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

On black

1.76
#6B171C on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6B171C#FFFFFF#000000##FFFFFF
##6B171C1.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302C1B
Deuteranopia (green-blind)
#453E19
Tritanopia (blue-blind)
#76001A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #6b171c;
/* rgb */ color: rgb(107, 23, 28);
/* oklch */ color: oklch(35.1% 0.117 22.7);
Tailwind
colors: {
  custom: {
    50: '#9c5c58',
    500: '#6b171c',
    950: '#000000',
  },
}
SCSS
$custom: #6b171c;
$custom-light: #9c5c58;
$custom-dark: #000000;
JSON
{
  "hex": "#6b171c",
  "rgb": {
    "r": 107,
    "g": 23,
    "b": 28
  },
  "hsl": {
    "h": 356.429,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.35117,
    "c": 0.11705,
    "h": 22.7
  },
  "luminance": 0.03822
}

Semantic roles & 50–950 ramp

primary
#6B171C
secondary
#3DA19B
accent
#E8DE40
background
#FAF5F5
surface
#F4E9E9
border
#CEC5C5
text
#0F0403
muted
#7F7978

Preview Lab

Preview with #6B171C

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

Preview Lab → · Contrast checker → · Palette generator →

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