#6A172D#6A172D

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

Color values

HEX#6A172D
RGBrgb(106, 23, 45)
HSLhsl(344, 64%, 25%)
HSVhsv(344, 78%, 42%)
CMYKcmyk(0%, 78.3%, 57.5%, 58.4%)
CIE-LABlab(23.23, 37.71, 8.08)
CIE-LCHlch(23.23, 38.57, 12.10°)
OKLaboklab(35.31% 0.1144 0.0205)
OKLCHoklch(35.31% 0.116 10.1)
XYZxyz(6.7245, 3.8674, 2.8745)
Luminance0.0387 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A172D #176A54
analogous
#6A1757 #6A172D #6A2A17
triadic
#6A172D #2D6A17 #172D6A
tetradic
#6A172D #576A17 #176A54 #2A176A
square
#6A172D #576A17 #176A54 #2A176A
split-complementary
#6A172D #176A2A #17576A
monochromatic
#19050B #380C18 #6A172D #9C2242 #CF2D58

Accessibility & contrast

On white

11.84
#6A172D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A172D
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A172D#FFFFFF#000000##FFFFFF
##6A172D1.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2D2D
Deuteranopia (green-blind)
#423D2B
Tritanopia (blue-blind)
#740220
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #6a172d;
/* rgb */ color: rgb(106, 23, 45);
/* oklch */ color: oklch(35.3% 0.116 10.1);
Tailwind
colors: {
  custom: {
    50: '#9a5c65',
    500: '#6a172d',
    950: '#000000',
  },
}
SCSS
$custom: #6a172d;
$custom-light: #9a5c65;
$custom-dark: #000000;
JSON
{
  "hex": "#6a172d",
  "rgb": {
    "r": 106,
    "g": 23,
    "b": 45
  },
  "hsl": {
    "h": 344.096,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.35306,
    "c": 0.11621,
    "h": 10.1
  },
  "luminance": 0.03866
}

Semantic roles & 50–950 ramp

primary
#6A172D
secondary
#3DA086
accent
#E7BB40
background
#FAF5F6
surface
#F3E9EB
border
#CDC5C6
text
#0F0405
muted
#7F797A

Preview Lab

Preview with #6A172D

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

Preview Lab → · Contrast checker → · Palette generator →

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