#A6798C#A6798C

#A6798C is a light, moderate pink. Relative luminance 0.237; OKLCH L 62.7% C 0.062 H 352.0°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#A6798C
RGBrgb(166, 121, 140)
HSLhsl(335, 20%, 56%)
HSVhsv(335, 27%, 65%)
CMYKcmyk(0%, 27.1%, 15.7%, 34.9%)
CIE-LABlab(55.76, 20.56, -3.36)
CIE-LCHlch(55.76, 20.84, 350.72°)
OKLaboklab(62.66% 0.061 -0.0086)
OKLCHoklch(62.66% 0.062 352)
XYZxyz(27.2969, 23.6764, 27.9380)
Luminance0.2367 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6798C #79A693
analogous
#A679A3 #A6798C #A67D79
triadic
#A6798C #8CA679 #798CA6
tetradic
#A6798C #A3A679 #79A693 #7D79A6
square
#A6798C #A3A679 #79A693 #7D79A6
split-complementary
#A6798C #79A67D #79A3A6
monochromatic
#634250 #885A6D #A6798C #BE9EAC #D7C3CB

Accessibility & contrast

On white

3.66
#A6798C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#A6798C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A6798C
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6798C#FFFFFF#000000##000000
##A6798C1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D818D
Deuteranopia (green-blind)
#88888B
Tritanopia (blue-blind)
#AD787F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a6798c;
/* rgb */ color: rgb(166, 121, 140);
/* oklch */ color: oklch(62.7% 0.062 352.0);
Tailwind
colors: {
  custom: {
    50: '#c1a0ad',
    500: '#a6798c',
    950: '#000000',
  },
}
SCSS
$custom: #a6798c;
$custom-light: #c1a0ad;
$custom-dark: #000000;
JSON
{
  "hex": "#a6798c",
  "rgb": {
    "r": 166,
    "g": 121,
    "b": 140
  },
  "hsl": {
    "h": 334.667,
    "s": 20.179,
    "l": 56.275
  },
  "oklch": {
    "l": 0.62658,
    "c": 0.06163,
    "h": 352
  },
  "luminance": 0.23675
}

Semantic roles & 50–950 ramp

primary
#A6798C
secondary
#B4C7BF
accent
#BD9A6B
background
#FBF9FA
surface
#F7F2F4
border
#D0CCCE
text
#120E10
muted
#817E7F

Preview Lab

Preview with #A6798C

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

Preview Lab → · Contrast checker → · Palette generator →

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