#6E171B#6E171B

#6E171B is a dark, vivid red. Relative luminance 0.040; OKLCH L 35.7% C 0.120 H 23.6°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#6E171B
RGBrgb(110, 23, 27)
HSLhsl(357, 65%, 26%)
HSVhsv(357, 79%, 43%)
CMYKcmyk(0%, 79.1%, 75.5%, 56.9%)
CIE-LABlab(23.70, 37.83, 21.09)
CIE-LCHlch(23.70, 43.31, 29.15°)
OKLaboklab(35.69% 0.1104 0.0482)
OKLCHoklch(35.69% 0.12 23.6)
XYZxyz(6.9354, 4.0080, 1.4451)
Luminance0.0401 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E171B #176E6A
analogous
#6E1746 #6E171B #6E3E17
triadic
#6E171B #1B6E17 #171B6E
tetradic
#6E171B #466E17 #176E6A #3E176E
square
#6E171B #466E17 #176E6A #3E176E
split-complementary
#6E171B #176E3E #17466E
monochromatic
#190506 #3B0C0F #6E171B #A12227 #D32C34

Accessibility & contrast

On white

11.66
#6E171B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#6E171B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E171B
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E171B#FFFFFF#000000##FFFFFF
##6E171B1.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312C1A
Deuteranopia (green-blind)
#473F18
Tritanopia (blue-blind)
#7A0019
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #6e171b;
/* rgb */ color: rgb(110, 23, 27);
/* oklch */ color: oklch(35.7% 0.120 23.6);
Tailwind
colors: {
  custom: {
    50: '#9f5c57',
    500: '#6e171b',
    950: '#000000',
  },
}
SCSS
$custom: #6e171b;
$custom-light: #9f5c57;
$custom-dark: #000000;
JSON
{
  "hex": "#6e171b",
  "rgb": {
    "r": 110,
    "g": 23,
    "b": 27
  },
  "hsl": {
    "h": 357.241,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.35687,
    "c": 0.12044,
    "h": 23.6
  },
  "luminance": 0.04007
}

Semantic roles & 50–950 ramp

primary
#6E171B
secondary
#3DA49F
accent
#E8E13F
background
#FAF5F5
surface
#F4E9E9
border
#CEC5C5
text
#100403
muted
#7F7978

Preview Lab

Preview with #6E171B

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

Preview Lab → · Contrast checker → · Palette generator →

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