#A6789C#A6789C

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

Color values

HEX#A6789C
RGBrgb(166, 120, 156)
HSLhsl(313, 21%, 56%)
HSVhsv(313, 28%, 65%)
CMYKcmyk(0%, 27.7%, 6%, 34.9%)
CIE-LABlab(56.03, 23.97, -12.25)
CIE-LCHlch(56.03, 26.92, 332.93°)
OKLaboklab(63.03% 0.0683 -0.0327)
OKLCHoklch(63.03% 0.076 334.4)
XYZxyz(28.4427, 23.9413, 34.5689)
Luminance0.2394 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6789C #78A682
analogous
#9978A6 #A6789C #A67885
triadic
#A6789C #9CA678 #789CA6
tetradic
#A6789C #A69978 #78A682 #7885A6
square
#A6789C #A69978 #78A682 #7885A6
split-complementary
#A6789C #85A678 #78A699
monochromatic
#63415B #87597D #A6789C #BE9DB7 #D7C2D2

Accessibility & contrast

On white

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

On black

5.79
#A6789C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A6789C
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6789C#FFFFFF#000000##000000
##A6789C1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#78829D
Deuteranopia (green-blind)
#83899B
Tritanopia (blue-blind)
#AB7A85
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a6789c;
/* rgb */ color: rgb(166, 120, 156);
/* oklch */ color: oklch(63.0% 0.076 334.4);
Tailwind
colors: {
  custom: {
    50: '#c19fb9',
    500: '#a6789c',
    950: '#000000',
  },
}
SCSS
$custom: #a6789c;
$custom-light: #c19fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#a6789c",
  "rgb": {
    "r": 166,
    "g": 120,
    "b": 156
  },
  "hsl": {
    "h": 313.043,
    "s": 20.536,
    "l": 56.078
  },
  "oklch": {
    "l": 0.63031,
    "c": 0.07575,
    "h": 334.4
  },
  "luminance": 0.2394
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A6789C

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

Preview Lab → · Contrast checker → · Palette generator →

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