#A6717E#A6717E

#A6717E is a mid, moderate red. Relative luminance 0.214; OKLCH L 60.7% C 0.069 H 3.3°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#A6717E
RGBrgb(166, 113, 126)
HSLhsl(345, 23%, 55%)
HSVhsv(345, 32%, 65%)
CMYKcmyk(0%, 31.9%, 24.1%, 34.9%)
CIE-LABlab(53.41, 22.86, 1.38)
CIE-LCHlch(53.41, 22.90, 3.45°)
OKLaboklab(60.72% 0.069 0.0039)
OKLCHoklch(60.72% 0.069 3.3)
XYZxyz(25.3974, 21.4251, 22.5323)
Luminance0.2142 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6717E #71A699
analogous
#A67199 #A6717E #A67F71
triadic
#A6717E #7EA671 #717EA6
tetradic
#A6717E #99A671 #71A699 #7F71A6
square
#A6717E #99A671 #71A699 #7F71A6
split-complementary
#A6717E #71A67F #7199A6
monochromatic
#603C45 #865460 #A6717E #BE97A0 #D5BCC2

Accessibility & contrast

On white

3.97
#A6717E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#A6717E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A6717E
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6717E#FFFFFF#000000##000000
##A6717E1.003.975.285.28
#FFFFFF3.971.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#787A7E
Deuteranopia (green-blind)
#85837D
Tritanopia (blue-blind)
#AF6E75
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a6717e;
/* rgb */ color: rgb(166, 113, 126);
/* oklch */ color: oklch(60.7% 0.069 3.3);
Tailwind
colors: {
  custom: {
    50: '#c19aa3',
    500: '#a6717e',
    950: '#000000',
  },
}
SCSS
$custom: #a6717e;
$custom-light: #c19aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#a6717e",
  "rgb": {
    "r": 166,
    "g": 113,
    "b": 126
  },
  "hsl": {
    "h": 345.283,
    "s": 22.944,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60718,
    "c": 0.06909,
    "h": 3.3
  },
  "luminance": 0.21424
}

Semantic roles & 50–950 ramp

primary
#A6717E
secondary
#AEC5BF
accent
#BFAA68
background
#FCF9FA
surface
#F8F2F3
border
#D1CCCD
text
#120E0F
muted
#817E7F

Preview Lab

Preview with #A6717E

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

Preview Lab → · Contrast checker → · Palette generator →

#A6717E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva