#A6799A#A6799A

#A6799A is a light, moderate pink. Relative luminance 0.241; OKLCH L 63.1% C 0.072 H 336.4°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#A6799A
RGBrgb(166, 121, 154)
HSLhsl(316, 20%, 56%)
HSVhsv(316, 27%, 65%)
CMYKcmyk(0%, 27.1%, 7.2%, 34.9%)
CIE-LABlab(56.20, 23.03, -10.83)
CIE-LCHlch(56.20, 25.45, 334.81°)
OKLaboklab(63.14% 0.066 -0.0288)
OKLCHoklch(63.14% 0.072 336.4)
XYZxyz(28.3957, 24.1159, 33.7247)
Luminance0.2412 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6799A #79A685
analogous
#9C79A6 #A6799A #A67984
triadic
#A6799A #9AA679 #799AA6
tetradic
#A6799A #A69C79 #79A685 #7984A6
square
#A6799A #A69C79 #79A685 #7984A6
split-complementary
#A6799A #84A679 #79A69C
monochromatic
#63425A #885A7C #A6799A #BE9EB6 #D7C3D1

Accessibility & contrast

On white

3.61
#A6799A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#A6799A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A6799A
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6799A#FFFFFF#000000##000000
##A6799A1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A839B
Deuteranopia (green-blind)
#848999
Tritanopia (blue-blind)
#AB7A84
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a6799a;
/* rgb */ color: rgb(166, 121, 154);
/* oklch */ color: oklch(63.1% 0.072 336.4);
Tailwind
colors: {
  custom: {
    50: '#c1a0b7',
    500: '#a6799a',
    950: '#000000',
  },
}
SCSS
$custom: #a6799a;
$custom-light: #c1a0b7;
$custom-dark: #000000;
JSON
{
  "hex": "#a6799a",
  "rgb": {
    "r": 166,
    "g": 121,
    "b": 154
  },
  "hsl": {
    "h": 316,
    "s": 20.179,
    "l": 56.275
  },
  "oklch": {
    "l": 0.63142,
    "c": 0.07205,
    "h": 336.4
  },
  "luminance": 0.24115
}

Semantic roles & 50–950 ramp

primary
#A6799A
secondary
#B4C7B9
accent
#BD816B
background
#FBF9FB
surface
#F7F2F6
border
#D0CCD0
text
#120E11
muted
#817E80

Preview Lab

Preview with #A6799A

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

Preview Lab → · Contrast checker → · Palette generator →

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