#6A171B#6A171B

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

Color values

HEX#6A171B
RGBrgb(106, 23, 27)
HSLhsl(357, 64%, 25%)
HSVhsv(357, 78%, 42%)
CMYKcmyk(0%, 78.3%, 74.5%, 58.4%)
CIE-LABlab(22.85, 36.47, 19.88)
CIE-LCHlch(22.85, 41.54, 28.60°)
OKLaboklab(34.91% 0.1066 0.0458)
OKLCHoklch(34.91% 0.116 23.2)
XYZxyz(6.4488, 3.7571, 1.4223)
Luminance0.0376 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A171B #176A66
analogous
#6A1745 #6A171B #6A3C17
triadic
#6A171B #1B6A17 #171B6A
tetradic
#6A171B #456A17 #176A66 #3C176A
square
#6A171B #456A17 #176A66 #3C176A
split-complementary
#6A171B #176A3C #17456A
monochromatic
#190506 #380C0E #6A171B #9C2228 #CF2D35

Accessibility & contrast

On white

11.99
#6A171B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A171B
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A171B#FFFFFF#000000##FFFFFF
##6A171B1.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2B1A
Deuteranopia (green-blind)
#443D18
Tritanopia (blue-blind)
#750019
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #6a171b;
/* rgb */ color: rgb(106, 23, 27);
/* oklch */ color: oklch(34.9% 0.116 23.2);
Tailwind
colors: {
  custom: {
    50: '#9b5c57',
    500: '#6a171b',
    950: '#000000',
  },
}
SCSS
$custom: #6a171b;
$custom-light: #9b5c57;
$custom-dark: #000000;
JSON
{
  "hex": "#6a171b",
  "rgb": {
    "r": 106,
    "g": 23,
    "b": 27
  },
  "hsl": {
    "h": 357.108,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.34905,
    "c": 0.11605,
    "h": 23.2
  },
  "luminance": 0.03756
}

Semantic roles & 50–950 ramp

primary
#6A171B
secondary
#3DA09B
accent
#E7DF40
background
#FAF5F5
surface
#F4E9E9
border
#CEC5C5
text
#0F0403
muted
#7F7978

Preview Lab

Preview with #6A171B

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

Preview Lab → · Contrast checker → · Palette generator →

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