#6A171A#6A171A

#6A171A is a dark, moderate red. Relative luminance 0.038; OKLCH L 34.9% C 0.116 H 23.9°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#6A171A
RGBrgb(106, 23, 26)
HSLhsl(358, 64%, 25%)
HSVhsv(358, 78%, 42%)
CMYKcmyk(0%, 78.3%, 75.5%, 58.4%)
CIE-LABlab(22.84, 36.42, 20.53)
CIE-LCHlch(22.84, 41.80, 29.41°)
OKLaboklab(34.89% 0.1062 0.047)
OKLCHoklch(34.89% 0.116 23.9)
XYZxyz(6.4374, 3.7525, 1.3624)
Luminance0.0375 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A171A #176A67
analogous
#6A1744 #6A171A #6A3D17
triadic
#6A171A #1A6A17 #171A6A
tetradic
#6A171A #446A17 #176A67 #3D176A
square
#6A171A #446A17 #176A67 #3D176A
split-complementary
#6A171A #176A3D #17446A
monochromatic
#190506 #380C0E #6A171A #9C2226 #CF2D33

Accessibility & contrast

On white

12.00
#6A171A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#6A171A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A171A
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A171A#FFFFFF#000000##FFFFFF
##6A171A1.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2B19
Deuteranopia (green-blind)
#443D17
Tritanopia (blue-blind)
#750019
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #6a171a;
/* rgb */ color: rgb(106, 23, 26);
/* oklch */ color: oklch(34.9% 0.116 23.9);
Tailwind
colors: {
  custom: {
    50: '#9b5c56',
    500: '#6a171a',
    950: '#000000',
  },
}
SCSS
$custom: #6a171a;
$custom-light: #9b5c56;
$custom-dark: #000000;
JSON
{
  "hex": "#6a171a",
  "rgb": {
    "r": 106,
    "g": 23,
    "b": 26
  },
  "hsl": {
    "h": 357.831,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.34888,
    "c": 0.11615,
    "h": 23.9
  },
  "luminance": 0.03752
}

Semantic roles & 50–950 ramp

primary
#6A171A
secondary
#3DA09D
accent
#E7E140
background
#FAF5F5
surface
#F4E9E9
border
#CEC5C5
text
#0F0403
muted
#7F7978

Preview Lab

Preview with #6A171A

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

Preview Lab → · Contrast checker → · Palette generator →

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