#A6789B#A6789B

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

Color values

HEX#A6789B
RGBrgb(166, 120, 155)
HSLhsl(314, 21%, 56%)
HSVhsv(314, 28%, 65%)
CMYKcmyk(0%, 27.7%, 6.6%, 34.9%)
CIE-LABlab(56.00, 23.78, -11.72)
CIE-LCHlch(56.00, 26.51, 333.76°)
OKLaboklab(62.99% 0.068 -0.0313)
OKLCHoklch(62.99% 0.075 335.3)
XYZxyz(28.3584, 23.9076, 34.1248)
Luminance0.2391 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6789B #78A683
analogous
#9A78A6 #A6789B #A67884
triadic
#A6789B #9BA678 #789BA6
tetradic
#A6789B #A69A78 #78A683 #7884A6
square
#A6789B #A69A78 #78A683 #7884A6
split-complementary
#A6789B #84A678 #78A69A
monochromatic
#63415B #87597C #A6789B #BE9DB6 #D7C2D2

Accessibility & contrast

On white

3.63
#A6789B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#A6789B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A6789B
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6789B#FFFFFF#000000##000000
##A6789B1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#78829C
Deuteranopia (green-blind)
#83899A
Tritanopia (blue-blind)
#AB7A84
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a6789b;
/* rgb */ color: rgb(166, 120, 155);
/* oklch */ color: oklch(63.0% 0.075 335.3);
Tailwind
colors: {
  custom: {
    50: '#c19fb8',
    500: '#a6789b',
    950: '#000000',
  },
}
SCSS
$custom: #a6789b;
$custom-light: #c19fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#a6789b",
  "rgb": {
    "r": 166,
    "g": 120,
    "b": 155
  },
  "hsl": {
    "h": 314.348,
    "s": 20.536,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62994,
    "c": 0.07483,
    "h": 335.3
  },
  "luminance": 0.23906
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A6789B

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

Preview Lab → · Contrast checker → · Palette generator →

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