#6B172A#6B172A

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

Color values

HEX#6B172A
RGBrgb(107, 23, 42)
HSLhsl(346, 65%, 25%)
HSVhsv(346, 79%, 42%)
CMYKcmyk(0%, 78.5%, 60.7%, 58%)
CIE-LABlab(23.36, 37.79, 10.37)
CIE-LCHlch(23.36, 39.19, 15.34°)
OKLaboklab(35.42% 0.114 0.0258)
OKLCHoklch(35.42% 0.117 12.7)
XYZxyz(6.7884, 3.9067, 2.5867)
Luminance0.0391 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B172A #176B58
analogous
#6B1754 #6B172A #6B2E17
triadic
#6B172A #2A6B17 #172A6B
tetradic
#6B172A #546B17 #176B58 #2E176B
square
#6B172A #546B17 #176B58 #2E176B
split-complementary
#6B172A #176B2E #17546B
monochromatic
#19050A #390C16 #6B172A #9D223E #D02D52

Accessibility & contrast

On white

11.79
#6B172A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B172A
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B172A#FFFFFF#000000##FFFFFF
##6B172A1.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b172a;
/* rgb */ color: rgb(107, 23, 42);
/* oklch */ color: oklch(35.4% 0.117 12.7);
Tailwind
colors: {
  custom: {
    50: '#9b5c63',
    500: '#6b172a',
    950: '#000000',
  },
}
SCSS
$custom: #6b172a;
$custom-light: #9b5c63;
$custom-dark: #000000;
JSON
{
  "hex": "#6b172a",
  "rgb": {
    "r": 107,
    "g": 23,
    "b": 42
  },
  "hsl": {
    "h": 346.429,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.35417,
    "c": 0.11689,
    "h": 12.7
  },
  "luminance": 0.03906
}

Semantic roles & 50–950 ramp

primary
#6B172A
secondary
#3DA18A
accent
#E8C240
background
#FAF5F5
surface
#F3E9EA
border
#CDC5C6
text
#0F0405
muted
#7F7979

Preview Lab

Preview with #6B172A

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

Preview Lab → · Contrast checker → · Palette generator →

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