#A6799C#A6799C

#A6799C is a light, moderate pink. Relative luminance 0.242; OKLCH L 63.2% C 0.074 H 334.6°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#A6799C
RGBrgb(166, 121, 156)
HSLhsl(313, 20%, 56%)
HSVhsv(313, 27%, 65%)
CMYKcmyk(0%, 27.1%, 6%, 34.9%)
CIE-LABlab(56.27, 23.40, -11.89)
CIE-LCHlch(56.27, 26.25, 333.07°)
OKLaboklab(63.22% 0.0667 -0.0317)
OKLCHoklch(63.22% 0.074 334.6)
XYZxyz(28.5636, 24.1831, 34.6092)
Luminance0.2418 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6799C #79A683
analogous
#9A79A6 #A6799C #A67986
triadic
#A6799C #9CA679 #799CA6
tetradic
#A6799C #A69A79 #79A683 #7986A6
square
#A6799C #A69A79 #79A683 #7986A6
split-complementary
#A6799C #86A679 #79A69A
monochromatic
#63425C #885A7E #A6799C #BE9EB7 #D7C3D2

Accessibility & contrast

On white

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

On black

5.84
#A6799C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A6799C
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6799C#FFFFFF#000000##000000
##A6799C1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#79839D
Deuteranopia (green-blind)
#83899B
Tritanopia (blue-blind)
#AB7B85
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a6799c;
/* rgb */ color: rgb(166, 121, 156);
/* oklch */ color: oklch(63.2% 0.074 334.6);
Tailwind
colors: {
  custom: {
    50: '#c1a0b9',
    500: '#a6799c',
    950: '#000000',
  },
}
SCSS
$custom: #a6799c;
$custom-light: #c1a0b9;
$custom-dark: #000000;
JSON
{
  "hex": "#a6799c",
  "rgb": {
    "r": 166,
    "g": 121,
    "b": 156
  },
  "hsl": {
    "h": 313.333,
    "s": 20.179,
    "l": 56.275
  },
  "oklch": {
    "l": 0.63216,
    "c": 0.07387,
    "h": 334.6
  },
  "luminance": 0.24182
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A6799C

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

Preview Lab → · Contrast checker → · Palette generator →

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