#6A170E#6A170E

#6A170E is a dark, moderate red. Relative luminance 0.037; OKLCH L 34.7% C 0.118 H 30.2°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#6A170E
RGBrgb(106, 23, 14)
HSLhsl(6, 77%, 24%)
HSVhsv(6, 87%, 42%)
CMYKcmyk(0%, 78.3%, 86.8%, 58.4%)
CIE-LABlab(22.69, 35.92, 27.70)
CIE-LCHlch(22.69, 45.36, 37.64°)
OKLaboklab(34.73% 0.1019 0.0593)
OKLCHoklch(34.73% 0.118 30.2)
XYZxyz(6.3303, 3.7097, 0.7981)
Luminance0.0371 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A170E #0E616A
analogous
#6A0E33 #6A170E #6A450E
triadic
#6A170E #0E6A17 #170E6A
tetradic
#6A170E #336A0E #0E616A #450E6A
square
#6A170E #336A0E #0E616A #450E6A
split-complementary
#6A170E #0E6A45 #0E336A
monochromatic
#1B0604 #340B07 #6A170E #A02315 #D62E1C

Accessibility & contrast

On white

12.06
#6A170E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#6A170E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A170E
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A170E#FFFFFF#000000##FFFFFF
##6A170E1.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302B0C
Deuteranopia (green-blind)
#453D0A
Tritanopia (blue-blind)
#750016
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #6a170e;
/* rgb */ color: rgb(106, 23, 14);
/* oklch */ color: oklch(34.7% 0.118 30.2);
Tailwind
colors: {
  custom: {
    50: '#9c5b4e',
    500: '#6a170e',
    950: '#000000',
  },
}
SCSS
$custom: #6a170e;
$custom-light: #9c5b4e;
$custom-dark: #000000;
JSON
{
  "hex": "#6a170e",
  "rgb": {
    "r": 106,
    "g": 23,
    "b": 14
  },
  "hsl": {
    "h": 5.87,
    "s": 76.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.3473,
    "c": 0.11791,
    "h": 30.2
  },
  "luminance": 0.03709
}

Semantic roles & 50–950 ramp

primary
#6A170E
secondary
#3198A3
accent
#E1F335
background
#FAF5F4
surface
#F4E9E7
border
#CEC5C3
text
#100401
muted
#7F7977

Preview Lab

Preview with #6A170E

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

Preview Lab → · Contrast checker → · Palette generator →

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