#6A170F#6A170F

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

Color values

HEX#6A170F
RGBrgb(106, 23, 15)
HSLhsl(5, 75%, 24%)
HSVhsv(5, 86%, 42%)
CMYKcmyk(0%, 78.3%, 85.8%, 58.4%)
CIE-LABlab(22.70, 35.95, 27.19)
CIE-LCHlch(22.70, 45.08, 37.11°)
OKLaboklab(34.74% 0.1022 0.0584)
OKLCHoklch(34.74% 0.118 29.8)
XYZxyz(6.3372, 3.7125, 0.8347)
Luminance0.0371 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A170F #0F626A
analogous
#6A0F34 #6A170F #6A440F
triadic
#6A170F #0F6A17 #170F6A
tetradic
#6A170F #346A0F #0F626A #440F6A
square
#6A170F #346A0F #0F626A #440F6A
split-complementary
#6A170F #0F6A44 #0F346A
monochromatic
#1B0604 #340B07 #6A170F #A02317 #D52E1E

Accessibility & contrast

On white

12.05
#6A170F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A170F
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A170F#FFFFFF#000000##FFFFFF
##6A170F1.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a170f;
/* rgb */ color: rgb(106, 23, 15);
/* oklch */ color: oklch(34.7% 0.118 29.8);
Tailwind
colors: {
  custom: {
    50: '#9c5b4e',
    500: '#6a170f',
    950: '#000000',
  },
}
SCSS
$custom: #6a170f;
$custom-light: #9c5b4e;
$custom-dark: #000000;
JSON
{
  "hex": "#6a170f",
  "rgb": {
    "r": 106,
    "g": 23,
    "b": 15
  },
  "hsl": {
    "h": 5.275,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.3474,
    "c": 0.11775,
    "h": 29.8
  },
  "luminance": 0.03711
}

Semantic roles & 50–950 ramp

primary
#6A170F
secondary
#3299A2
accent
#E1F236
background
#FAF5F4
surface
#F4E9E7
border
#CEC5C3
text
#100401
muted
#7F7977

Preview Lab

Preview with #6A170F

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

Preview Lab → · Contrast checker → · Palette generator →

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