#6D170F#6D170F

#6D170F is a dark, vivid red. Relative luminance 0.039; OKLCH L 35.3% C 0.121 H 29.7°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#6D170F
RGBrgb(109, 23, 15)
HSLhsl(5, 76%, 24%)
HSVhsv(5, 86%, 43%)
CMYKcmyk(0%, 78.9%, 86.2%, 57.3%)
CIE-LABlab(23.34, 36.99, 28.05)
CIE-LCHlch(23.34, 46.43, 37.18°)
OKLaboklab(35.33% 0.1051 0.0599)
OKLCHoklch(35.33% 0.121 29.7)
XYZxyz(6.7001, 3.8996, 0.8517)
Luminance0.0390 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D170F #0F656D
analogous
#6D0F36 #6D170F #6D460F
triadic
#6D170F #0F6D17 #170F6D
tetradic
#6D170F #366D0F #0F656D #460F6D
square
#6D170F #366D0F #0F656D #460F6D
split-complementary
#6D170F #0F6D46 #0F366D
monochromatic
#1B0604 #370C08 #6D170F #A32216 #D92E1E

Accessibility & contrast

On white

11.80
#6D170F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#6D170F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D170F
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D170F#FFFFFF#000000##FFFFFF
##6D170F1.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322C0D
Deuteranopia (green-blind)
#473E0B
Tritanopia (blue-blind)
#790016
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #6d170f;
/* rgb */ color: rgb(109, 23, 15);
/* oklch */ color: oklch(35.3% 0.121 29.7);
Tailwind
colors: {
  custom: {
    50: '#9f5c4e',
    500: '#6d170f',
    950: '#000000',
  },
}
SCSS
$custom: #6d170f;
$custom-light: #9f5c4e;
$custom-dark: #000000;
JSON
{
  "hex": "#6d170f",
  "rgb": {
    "r": 109,
    "g": 23,
    "b": 15
  },
  "hsl": {
    "h": 5.106,
    "s": 75.806,
    "l": 24.314
  },
  "oklch": {
    "l": 0.35332,
    "c": 0.12102,
    "h": 29.7
  },
  "luminance": 0.03898
}

Semantic roles & 50–950 ramp

primary
#6D170F
secondary
#339BA5
accent
#E2F235
background
#FAF5F4
surface
#F4E9E7
border
#CEC5C3
text
#100401
muted
#7F7977

Preview Lab

Preview with #6D170F

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

Preview Lab → · Contrast checker → · Palette generator →

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