#A6798B#A6798B

#A6798B is a light, moderate pink. Relative luminance 0.236; OKLCH L 62.6% C 0.061 H 353.2°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#A6798B
RGBrgb(166, 121, 139)
HSLhsl(336, 20%, 56%)
HSVhsv(336, 27%, 65%)
CMYKcmyk(0%, 27.1%, 16.3%, 34.9%)
CIE-LABlab(55.73, 20.40, -2.82)
CIE-LCHlch(55.73, 20.59, 352.12°)
OKLaboklab(62.63% 0.0606 -0.0072)
OKLCHoklch(62.63% 0.061 353.2)
XYZxyz(27.2235, 23.6470, 27.5514)
Luminance0.2365 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6798B #79A694
analogous
#A679A2 #A6798B #A67E79
triadic
#A6798B #8BA679 #798BA6
tetradic
#A6798B #A2A679 #79A694 #7E79A6
square
#A6798B #A2A679 #79A694 #7E79A6
split-complementary
#A6798B #79A67E #79A2A6
monochromatic
#63424F #885A6C #A6798B #BE9EAB #D7C3CB

Accessibility & contrast

On white

3.67
#A6798B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#A6798B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A6798B
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6798B#FFFFFF#000000##000000
##A6798B1.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D818C
Deuteranopia (green-blind)
#88888A
Tritanopia (blue-blind)
#AD787F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a6798b;
/* rgb */ color: rgb(166, 121, 139);
/* oklch */ color: oklch(62.6% 0.061 353.2);
Tailwind
colors: {
  custom: {
    50: '#c1a0ac',
    500: '#a6798b',
    950: '#000000',
  },
}
SCSS
$custom: #a6798b;
$custom-light: #c1a0ac;
$custom-dark: #000000;
JSON
{
  "hex": "#a6798b",
  "rgb": {
    "r": 166,
    "g": 121,
    "b": 139
  },
  "hsl": {
    "h": 336,
    "s": 20.179,
    "l": 56.275
  },
  "oklch": {
    "l": 0.62625,
    "c": 0.06107,
    "h": 353.2
  },
  "luminance": 0.23646
}

Semantic roles & 50–950 ramp

primary
#A6798B
secondary
#B4C7BF
accent
#BD9C6B
background
#FBF9FA
surface
#F7F2F4
border
#D0CCCE
text
#120E10
muted
#817E7F

Preview Lab

Preview with #A6798B

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

Preview Lab → · Contrast checker → · Palette generator →

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