#A6799B#A6799B

#A6799B is a light, moderate pink. Relative luminance 0.241; OKLCH L 63.2% C 0.073 H 335.5°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#A6799B
RGBrgb(166, 121, 155)
HSLhsl(315, 20%, 56%)
HSVhsv(315, 27%, 65%)
CMYKcmyk(0%, 27.1%, 6.6%, 34.9%)
CIE-LABlab(56.24, 23.21, -11.36)
CIE-LCHlch(56.24, 25.84, 333.93°)
OKLaboklab(63.18% 0.0664 -0.0303)
OKLCHoklch(63.18% 0.073 335.5)
XYZxyz(28.4793, 24.1493, 34.1651)
Luminance0.2415 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6799B #79A684
analogous
#9B79A6 #A6799B #A67985
triadic
#A6799B #9BA679 #799BA6
tetradic
#A6799B #A69B79 #79A684 #7985A6
square
#A6799B #A69B79 #79A684 #7985A6
split-complementary
#A6799B #85A679 #79A69B
monochromatic
#63425B #885A7D #A6799B #BE9EB6 #D7C3D2

Accessibility & contrast

On white

3.60
#A6799B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#A6799B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A6799B
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6799B#FFFFFF#000000##000000
##A6799B1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#79839C
Deuteranopia (green-blind)
#84899A
Tritanopia (blue-blind)
#AB7B85
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a6799b;
/* rgb */ color: rgb(166, 121, 155);
/* oklch */ color: oklch(63.2% 0.073 335.5);
Tailwind
colors: {
  custom: {
    50: '#c1a0b8',
    500: '#a6799b',
    950: '#000000',
  },
}
SCSS
$custom: #a6799b;
$custom-light: #c1a0b8;
$custom-dark: #000000;
JSON
{
  "hex": "#a6799b",
  "rgb": {
    "r": 166,
    "g": 121,
    "b": 155
  },
  "hsl": {
    "h": 314.667,
    "s": 20.179,
    "l": 56.275
  },
  "oklch": {
    "l": 0.63179,
    "c": 0.07296,
    "h": 335.5
  },
  "luminance": 0.24148
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A6799B

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

Preview Lab → · Contrast checker → · Palette generator →

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