#A6789A#A6789A

#A6789A is a light, moderate pink. Relative luminance 0.239; OKLCH L 63.0% C 0.074 H 336.2°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#A6789A
RGBrgb(166, 120, 154)
HSLhsl(316, 21%, 56%)
HSVhsv(316, 28%, 65%)
CMYKcmyk(0%, 27.7%, 7.2%, 34.9%)
CIE-LABlab(55.96, 23.60, -11.19)
CIE-LCHlch(55.96, 26.12, 334.62°)
OKLaboklab(62.96% 0.0676 -0.0298)
OKLCHoklch(62.96% 0.074 336.2)
XYZxyz(28.2748, 23.8741, 33.6844)
Luminance0.2387 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6789A #78A684
analogous
#9B78A6 #A6789A #A67883
triadic
#A6789A #9AA678 #789AA6
tetradic
#A6789A #A69B78 #78A684 #7883A6
square
#A6789A #A69B78 #78A684 #7883A6
split-complementary
#A6789A #83A678 #78A69B
monochromatic
#63415A #87597B #A6789A #BE9DB6 #D7C2D1

Accessibility & contrast

On white

3.64
#A6789A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#A6789A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A6789A
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6789A#FFFFFF#000000##000000
##A6789A1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#79829B
Deuteranopia (green-blind)
#838999
Tritanopia (blue-blind)
#AB7984
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a6789a;
/* rgb */ color: rgb(166, 120, 154);
/* oklch */ color: oklch(63.0% 0.074 336.2);
Tailwind
colors: {
  custom: {
    50: '#c19fb7',
    500: '#a6789a',
    950: '#000000',
  },
}
SCSS
$custom: #a6789a;
$custom-light: #c19fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#a6789a",
  "rgb": {
    "r": 166,
    "g": 120,
    "b": 154
  },
  "hsl": {
    "h": 315.652,
    "s": 20.536,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62957,
    "c": 0.07392,
    "h": 336.2
  },
  "luminance": 0.23873
}

Semantic roles & 50–950 ramp

primary
#A6789A
secondary
#B3C6B8
accent
#BD806B
background
#FBF9FB
surface
#F7F2F6
border
#D0CCD0
text
#120E11
muted
#817E80

Preview Lab

Preview with #A6789A

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

Preview Lab → · Contrast checker → · Palette generator →

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