#6A171E#6A171E

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

Color values

HEX#6A171E
RGBrgb(106, 23, 30)
HSLhsl(355, 64%, 25%)
HSVhsv(355, 78%, 42%)
CMYKcmyk(0%, 78.3%, 71.7%, 58.4%)
CIE-LABlab(22.90, 36.63, 17.94)
CIE-LCHlch(22.90, 40.79, 26.09°)
OKLaboklab(34.96% 0.1079 0.042)
OKLCHoklch(34.96% 0.116 21.3)
XYZxyz(6.4853, 3.7717, 1.6146)
Luminance0.0377 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A171E #176A63
analogous
#6A1747 #6A171E #6A3A17
triadic
#6A171E #1E6A17 #171E6A
tetradic
#6A171E #476A17 #176A63 #3A176A
square
#6A171E #476A17 #176A63 #3A176A
split-complementary
#6A171E #176A3A #17476A
monochromatic
#190507 #380C10 #6A171E #9C222C #CF2D3A

Accessibility & contrast

On white

11.97
#6A171E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A171E
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A171E#FFFFFF#000000##FFFFFF
##6A171E1.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2B1E
Deuteranopia (green-blind)
#443D1B
Tritanopia (blue-blind)
#75001A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #6a171e;
/* rgb */ color: rgb(106, 23, 30);
/* oklch */ color: oklch(35.0% 0.116 21.3);
Tailwind
colors: {
  custom: {
    50: '#9b5c59',
    500: '#6a171e',
    950: '#000000',
  },
}
SCSS
$custom: #6a171e;
$custom-light: #9b5c59;
$custom-dark: #000000;
JSON
{
  "hex": "#6a171e",
  "rgb": {
    "r": 106,
    "g": 23,
    "b": 30
  },
  "hsl": {
    "h": 354.94,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.34958,
    "c": 0.11577,
    "h": 21.3
  },
  "luminance": 0.03771
}

Semantic roles & 50–950 ramp

primary
#6A171E
secondary
#3DA098
accent
#E7D940
background
#FAF5F5
surface
#F4E9E9
border
#CEC5C5
text
#0F0403
muted
#7F7978

Preview Lab

Preview with #6A171E

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

Preview Lab → · Contrast checker → · Palette generator →

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