#A6788C#A6788C

#A6788C is a light, moderate pink. Relative luminance 0.234; OKLCH L 62.5% C 0.063 H 351.3°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#A6788C
RGBrgb(166, 120, 140)
HSLhsl(334, 21%, 56%)
HSVhsv(334, 28%, 65%)
CMYKcmyk(0%, 27.7%, 15.7%, 34.9%)
CIE-LABlab(55.52, 21.13, -3.72)
CIE-LCHlch(55.52, 21.46, 350.01°)
OKLaboklab(62.47% 0.0627 -0.0096)
OKLCHoklch(62.47% 0.063 351.3)
XYZxyz(27.1760, 23.4346, 27.8977)
Luminance0.2343 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6788C #78A692
analogous
#A678A3 #A6788C #A67B78
triadic
#A6788C #8CA678 #788CA6
tetradic
#A6788C #A3A678 #78A692 #7B78A6
square
#A6788C #A3A678 #78A692 #7B78A6
split-complementary
#A6788C #78A67B #78A3A6
monochromatic
#634150 #87596D #A6788C #BE9DAB #D7C2CB

Accessibility & contrast

On white

3.69
#A6788C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#A6788C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A6788C
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6788C#FFFFFF#000000##000000
##A6788C1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C808D
Deuteranopia (green-blind)
#87888B
Tritanopia (blue-blind)
#AD777F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a6788c;
/* rgb */ color: rgb(166, 120, 140);
/* oklch */ color: oklch(62.5% 0.063 351.3);
Tailwind
colors: {
  custom: {
    50: '#c19fad',
    500: '#a6788c',
    950: '#000000',
  },
}
SCSS
$custom: #a6788c;
$custom-light: #c19fad;
$custom-dark: #000000;
JSON
{
  "hex": "#a6788c",
  "rgb": {
    "r": 166,
    "g": 120,
    "b": 140
  },
  "hsl": {
    "h": 333.913,
    "s": 20.536,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62469,
    "c": 0.0634,
    "h": 351.3
  },
  "luminance": 0.23433
}

Semantic roles & 50–950 ramp

primary
#A6788C
secondary
#B3C6BE
accent
#BD996B
background
#FBF9FA
surface
#F7F2F4
border
#D0CCCE
text
#120E10
muted
#817E7F

Preview Lab

Preview with #A6788C

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

Preview Lab → · Contrast checker → · Palette generator →

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