#6A171C#6A171C

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

Color values

HEX#6A171C
RGBrgb(106, 23, 28)
HSLhsl(356, 64%, 25%)
HSVhsv(356, 78%, 42%)
CMYKcmyk(0%, 78.3%, 73.6%, 58.4%)
CIE-LABlab(22.87, 36.52, 19.24)
CIE-LCHlch(22.87, 41.28, 27.78°)
OKLaboklab(34.92% 0.1071 0.0445)
OKLCHoklch(34.92% 0.116 22.6)
XYZxyz(6.4606, 3.7618, 1.4843)
Luminance0.0376 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A171C #176A65
analogous
#6A1745 #6A171C #6A3C17
triadic
#6A171C #1C6A17 #171C6A
tetradic
#6A171C #456A17 #176A65 #3C176A
square
#6A171C #456A17 #176A65 #3C176A
split-complementary
#6A171C #176A3C #17456A
monochromatic
#190507 #380C0F #6A171C #9C2229 #CF2D37

Accessibility & contrast

On white

11.98
#6A171C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A171C
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A171C#FFFFFF#000000##FFFFFF
##6A171C1.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a171c;
/* rgb */ color: rgb(106, 23, 28);
/* oklch */ color: oklch(34.9% 0.116 22.6);
Tailwind
colors: {
  custom: {
    50: '#9b5c58',
    500: '#6a171c',
    950: '#000000',
  },
}
SCSS
$custom: #6a171c;
$custom-light: #9b5c58;
$custom-dark: #000000;
JSON
{
  "hex": "#6a171c",
  "rgb": {
    "r": 106,
    "g": 23,
    "b": 28
  },
  "hsl": {
    "h": 356.386,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.34922,
    "c": 0.11594,
    "h": 22.6
  },
  "luminance": 0.03761
}

Semantic roles & 50–950 ramp

primary
#6A171C
secondary
#3DA09A
accent
#E7DD40
background
#FAF5F5
surface
#F4E9E9
border
#CEC5C5
text
#0F0403
muted
#7F7978

Preview Lab

Preview with #6A171C

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

Preview Lab → · Contrast checker → · Palette generator →

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