#6B172B#6B172B

#6B172B is a dark, moderate red. Relative luminance 0.039; OKLCH L 35.4% C 0.117 H 12.0°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#6B172B
RGBrgb(107, 23, 43)
HSLhsl(346, 65%, 25%)
HSVhsv(346, 79%, 42%)
CMYKcmyk(0%, 78.5%, 59.8%, 58%)
CIE-LABlab(23.39, 37.87, 9.71)
CIE-LCHlch(23.39, 39.10, 14.38°)
OKLaboklab(35.44% 0.1145 0.0243)
OKLCHoklch(35.44% 0.117 12)
XYZxyz(6.8065, 3.9140, 2.6821)
Luminance0.0391 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B172B #176B57
analogous
#6B1755 #6B172B #6B2D17
triadic
#6B172B #2B6B17 #172B6B
tetradic
#6B172B #556B17 #176B57 #2D176B
square
#6B172B #556B17 #176B57 #2D176B
split-complementary
#6B172B #176B2D #17556B
monochromatic
#19050A #390C17 #6B172B #9D223F #D02D53

Accessibility & contrast

On white

11.78
#6B172B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#6B172B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B172B
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B172B#FFFFFF#000000##FFFFFF
##6B172B1.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2D2B
Deuteranopia (green-blind)
#433E29
Tritanopia (blue-blind)
#76001F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #6b172b;
/* rgb */ color: rgb(107, 23, 43);
/* oklch */ color: oklch(35.4% 0.117 12.0);
Tailwind
colors: {
  custom: {
    50: '#9b5c64',
    500: '#6b172b',
    950: '#000000',
  },
}
SCSS
$custom: #6b172b;
$custom-light: #9b5c64;
$custom-dark: #000000;
JSON
{
  "hex": "#6b172b",
  "rgb": {
    "r": 107,
    "g": 23,
    "b": 43
  },
  "hsl": {
    "h": 345.714,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.35443,
    "c": 0.117,
    "h": 12
  },
  "luminance": 0.03913
}

Semantic roles & 50–950 ramp

primary
#6B172B
secondary
#3DA189
accent
#E8C040
background
#FAF5F5
surface
#F3E9EA
border
#CDC5C6
text
#0F0405
muted
#7F7979

Preview Lab

Preview with #6B172B

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

Preview Lab → · Contrast checker → · Palette generator →

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