#6A172E#6A172E

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

Color values

HEX#6A172E
RGBrgb(106, 23, 46)
HSLhsl(343, 64%, 25%)
HSVhsv(343, 78%, 42%)
CMYKcmyk(0%, 78.3%, 56.6%, 58.4%)
CIE-LABlab(23.25, 37.80, 7.43)
CIE-LCHlch(23.25, 38.52, 11.12°)
OKLaboklab(35.33% 0.1148 0.0189)
OKLCHoklch(35.33% 0.116 9.4)
XYZxyz(6.7440, 3.8752, 2.9771)
Luminance0.0387 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A172E #176A53
analogous
#6A1758 #6A172E #6A2917
triadic
#6A172E #2E6A17 #172E6A
tetradic
#6A172E #586A17 #176A53 #29176A
square
#6A172E #586A17 #176A53 #29176A
split-complementary
#6A172E #176A29 #17586A
monochromatic
#19050B #380C18 #6A172E #9C2244 #CF2D5A

Accessibility & contrast

On white

11.83
#6A172E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A172E
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A172E#FFFFFF#000000##FFFFFF
##6A172E1.0011.831.7711.83
#FFFFFF11.831.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2D2E
Deuteranopia (green-blind)
#423E2C
Tritanopia (blue-blind)
#740221
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #6a172e;
/* rgb */ color: rgb(106, 23, 46);
/* oklch */ color: oklch(35.3% 0.116 9.4);
Tailwind
colors: {
  custom: {
    50: '#9a5c66',
    500: '#6a172e',
    950: '#000000',
  },
}
SCSS
$custom: #6a172e;
$custom-light: #9a5c66;
$custom-dark: #000000;
JSON
{
  "hex": "#6a172e",
  "rgb": {
    "r": 106,
    "g": 23,
    "b": 46
  },
  "hsl": {
    "h": 343.373,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.35334,
    "c": 0.11636,
    "h": 9.4
  },
  "luminance": 0.03874
}

Semantic roles & 50–950 ramp

primary
#6A172E
secondary
#3DA085
accent
#E7B940
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0F0405
muted
#7E797A

Preview Lab

Preview with #6A172E

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

Preview Lab → · Contrast checker → · Palette generator →

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