#6A172C#6A172C

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

Color values

HEX#6A172C
RGBrgb(106, 23, 44)
HSLhsl(345, 64%, 25%)
HSVhsv(345, 78%, 42%)
CMYKcmyk(0%, 78.3%, 58.5%, 58.4%)
CIE-LABlab(23.20, 37.63, 8.74)
CIE-LCHlch(23.20, 38.63, 13.07°)
OKLaboklab(35.28% 0.114 0.022)
OKLCHoklch(35.28% 0.116 10.9)
XYZxyz(6.7055, 3.8598, 2.7743)
Luminance0.0386 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A172C #176A55
analogous
#6A1755 #6A172C #6A2B17
triadic
#6A172C #2C6A17 #172C6A
tetradic
#6A172C #556A17 #176A55 #2B176A
square
#6A172C #556A17 #176A55 #2B176A
split-complementary
#6A172C #176A2B #17556A
monochromatic
#19050A #380C17 #6A172C #9C2241 #CF2D56

Accessibility & contrast

On white

11.85
#6A172C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A172C
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A172C#FFFFFF#000000##FFFFFF
##6A172C1.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2D2C
Deuteranopia (green-blind)
#423D2A
Tritanopia (blue-blind)
#740120
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #6a172c;
/* rgb */ color: rgb(106, 23, 44);
/* oklch */ color: oklch(35.3% 0.116 10.9);
Tailwind
colors: {
  custom: {
    50: '#9a5c64',
    500: '#6a172c',
    950: '#000000',
  },
}
SCSS
$custom: #6a172c;
$custom-light: #9a5c64;
$custom-dark: #000000;
JSON
{
  "hex": "#6a172c",
  "rgb": {
    "r": 106,
    "g": 23,
    "b": 44
  },
  "hsl": {
    "h": 344.819,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.35278,
    "c": 0.11607,
    "h": 10.9
  },
  "luminance": 0.03859
}

Semantic roles & 50–950 ramp

primary
#6A172C
secondary
#3DA087
accent
#E7BD40
background
#FAF5F6
surface
#F3E9EB
border
#CDC5C6
text
#0F0405
muted
#7F797A

Preview Lab

Preview with #6A172C

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

Preview Lab → · Contrast checker → · Palette generator →

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