#A6798A#A6798A

#A6798A is a light, moderate pink. Relative luminance 0.236; OKLCH L 62.6% C 0.061 H 354.5°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#A6798A
RGBrgb(166, 121, 138)
HSLhsl(337, 20%, 56%)
HSVhsv(337, 27%, 65%)
CMYKcmyk(0%, 27.1%, 16.9%, 34.9%)
CIE-LABlab(55.70, 20.23, -2.29)
CIE-LCHlch(55.70, 20.36, 353.56°)
OKLaboklab(62.59% 0.0603 -0.0058)
OKLCHoklch(62.59% 0.061 354.5)
XYZxyz(27.1508, 23.6179, 27.1684)
Luminance0.2362 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6798A #79A695
analogous
#A679A1 #A6798A #A67F79
triadic
#A6798A #8AA679 #798AA6
tetradic
#A6798A #A1A679 #79A695 #7F79A6
square
#A6798A #A1A679 #79A695 #7F79A6
split-complementary
#A6798A #79A67F #79A1A6
monochromatic
#63424E #885A6B #A6798A #BE9EAA #D7C3CA

Accessibility & contrast

On white

3.67
#A6798A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#A6798A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A6798A
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6798A#FFFFFF#000000##000000
##A6798A1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E818B
Deuteranopia (green-blind)
#888889
Tritanopia (blue-blind)
#AD777F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a6798a;
/* rgb */ color: rgb(166, 121, 138);
/* oklch */ color: oklch(62.6% 0.061 354.5);
Tailwind
colors: {
  custom: {
    50: '#c1a0ac',
    500: '#a6798a',
    950: '#000000',
  },
}
SCSS
$custom: #a6798a;
$custom-light: #c1a0ac;
$custom-dark: #000000;
JSON
{
  "hex": "#a6798a",
  "rgb": {
    "r": 166,
    "g": 121,
    "b": 138
  },
  "hsl": {
    "h": 337.333,
    "s": 20.179,
    "l": 56.275
  },
  "oklch": {
    "l": 0.62593,
    "c": 0.06054,
    "h": 354.5
  },
  "luminance": 0.23617
}

Semantic roles & 50–950 ramp

primary
#A6798A
secondary
#B4C7C0
accent
#BD9E6B
background
#FBF9FA
surface
#F7F2F4
border
#D0CCCE
text
#120E10
muted
#817E7F

Preview Lab

Preview with #A6798A

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

Preview Lab → · Contrast checker → · Palette generator →

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