#6A172B#6A172B

#6A172B is a dark, moderate red. Relative luminance 0.039; OKLCH L 35.3% C 0.116 H 11.7°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#6A172B
RGBrgb(106, 23, 43)
HSLhsl(346, 64%, 25%)
HSVhsv(346, 78%, 42%)
CMYKcmyk(0%, 78.3%, 59.4%, 58.4%)
CIE-LABlab(23.18, 37.54, 9.39)
CIE-LCHlch(23.18, 38.70, 14.05°)
OKLaboklab(35.25% 0.1135 0.0235)
OKLCHoklch(35.25% 0.116 11.7)
XYZxyz(6.6869, 3.8523, 2.6765)
Luminance0.0385 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A172B #176A56
analogous
#6A1754 #6A172B #6A2C17
triadic
#6A172B #2B6A17 #172B6A
tetradic
#6A172B #546A17 #176A56 #2C176A
square
#6A172B #546A17 #176A56 #2C176A
split-complementary
#6A172B #176A2C #17546A
monochromatic
#19050A #380C17 #6A172B #9C223F #CF2D54

Accessibility & contrast

On white

11.86
#6A172B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#6A172B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A172B
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A172B#FFFFFF#000000##FFFFFF
##6A172B1.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2C2B
Deuteranopia (green-blind)
#423D29
Tritanopia (blue-blind)
#74011F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #6a172b;
/* rgb */ color: rgb(106, 23, 43);
/* oklch */ color: oklch(35.3% 0.116 11.7);
Tailwind
colors: {
  custom: {
    50: '#9a5c64',
    500: '#6a172b',
    950: '#000000',
  },
}
SCSS
$custom: #6a172b;
$custom-light: #9a5c64;
$custom-dark: #000000;
JSON
{
  "hex": "#6a172b",
  "rgb": {
    "r": 106,
    "g": 23,
    "b": 43
  },
  "hsl": {
    "h": 345.542,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.35252,
    "c": 0.11594,
    "h": 11.7
  },
  "luminance": 0.03851
}

Semantic roles & 50–950 ramp

primary
#6A172B
secondary
#3DA088
accent
#E7BF40
background
#FAF5F5
surface
#F3E9EA
border
#CDC5C6
text
#0F0405
muted
#7F7979

Preview Lab

Preview with #6A172B

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

Preview Lab → · Contrast checker → · Palette generator →

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