#A6799E#A6799E

#A6799E is a light, moderate pink. Relative luminance 0.242; OKLCH L 63.3% C 0.076 H 332.8°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#A6799E
RGBrgb(166, 121, 158)
HSLhsl(311, 20%, 56%)
HSVhsv(311, 27%, 65%)
CMYKcmyk(0%, 27.1%, 4.8%, 34.9%)
CIE-LABlab(56.34, 23.77, -12.94)
CIE-LCHlch(56.34, 27.07, 331.43°)
OKLaboklab(63.29% 0.0674 -0.0346)
OKLCHoklch(63.29% 0.076 332.8)
XYZxyz(28.7344, 24.2514, 35.5085)
Luminance0.2425 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6799E #79A681
analogous
#9879A6 #A6799E #A67988
triadic
#A6799E #9EA679 #799EA6
tetradic
#A6799E #A69879 #79A681 #7988A6
square
#A6799E #A69879 #79A681 #7988A6
split-complementary
#A6799E #88A679 #79A698
monochromatic
#63425D #885A80 #A6799E #BE9EB9 #D7C3D3

Accessibility & contrast

On white

3.59
#A6799E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#A6799E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A6799E
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6799E#FFFFFF#000000##000000
##A6799E1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#78839F
Deuteranopia (green-blind)
#83899D
Tritanopia (blue-blind)
#AA7B86
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a6799e;
/* rgb */ color: rgb(166, 121, 158);
/* oklch */ color: oklch(63.3% 0.076 332.8);
Tailwind
colors: {
  custom: {
    50: '#c1a0ba',
    500: '#a6799e',
    950: '#000000',
  },
}
SCSS
$custom: #a6799e;
$custom-light: #c1a0ba;
$custom-dark: #000000;
JSON
{
  "hex": "#a6799e",
  "rgb": {
    "r": 166,
    "g": 121,
    "b": 158
  },
  "hsl": {
    "h": 310.667,
    "s": 20.179,
    "l": 56.275
  },
  "oklch": {
    "l": 0.6329,
    "c": 0.07575,
    "h": 332.8
  },
  "luminance": 0.2425
}

Semantic roles & 50–950 ramp

primary
#A6799E
secondary
#B4C7B7
accent
#BD7A6B
background
#FBF9FB
surface
#F7F2F6
border
#D0CCD0
text
#120E11
muted
#817E80

Preview Lab

Preview with #A6799E

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

Preview Lab → · Contrast checker → · Palette generator →

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