#6B171B#6B171B

#6B171B is a dark, moderate red. Relative luminance 0.038; OKLCH L 35.1% C 0.117 H 23.3°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#6B171B
RGBrgb(107, 23, 27)
HSLhsl(357, 65%, 25%)
HSVhsv(357, 79%, 42%)
CMYKcmyk(0%, 78.5%, 74.8%, 58%)
CIE-LABlab(23.06, 36.81, 20.19)
CIE-LCHlch(23.06, 41.98, 28.74°)
OKLaboklab(35.1% 0.1076 0.0464)
OKLCHoklch(35.1% 0.117 23.3)
XYZxyz(6.5684, 3.8187, 1.4279)
Luminance0.0382 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B171B #176B67
analogous
#6B1745 #6B171B #6B3D17
triadic
#6B171B #1B6B17 #171B6B
tetradic
#6B171B #456B17 #176B67 #3D176B
square
#6B171B #456B17 #176B67 #3D176B
split-complementary
#6B171B #176B3D #17456B
monochromatic
#190506 #390C0E #6B171B #9D2228 #D02D34

Accessibility & contrast

On white

11.91
#6B171B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#6B171B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B171B
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B171B#FFFFFF#000000##FFFFFF
##6B171B1.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302B1A
Deuteranopia (green-blind)
#453E18
Tritanopia (blue-blind)
#760019
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #6b171b;
/* rgb */ color: rgb(107, 23, 27);
/* oklch */ color: oklch(35.1% 0.117 23.3);
Tailwind
colors: {
  custom: {
    50: '#9c5c57',
    500: '#6b171b',
    950: '#000000',
  },
}
SCSS
$custom: #6b171b;
$custom-light: #9c5c57;
$custom-dark: #000000;
JSON
{
  "hex": "#6b171b",
  "rgb": {
    "r": 107,
    "g": 23,
    "b": 27
  },
  "hsl": {
    "h": 357.143,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.351,
    "c": 0.11715,
    "h": 23.3
  },
  "luminance": 0.03818
}

Semantic roles & 50–950 ramp

primary
#6B171B
secondary
#3DA19C
accent
#E8E040
background
#FAF5F5
surface
#F4E9E9
border
#CEC5C5
text
#0F0403
muted
#7F7978

Preview Lab

Preview with #6B171B

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

Preview Lab → · Contrast checker → · Palette generator →

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