#A6798F#A6798F

#A6798F is a light, moderate pink. Relative luminance 0.238; OKLCH L 62.8% C 0.063 H 348.2°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#A6798F
RGBrgb(166, 121, 143)
HSLhsl(331, 20%, 56%)
HSVhsv(331, 27%, 65%)
CMYKcmyk(0%, 27.1%, 13.9%, 34.9%)
CIE-LABlab(55.85, 21.07, -4.97)
CIE-LCHlch(55.85, 21.65, 346.73°)
OKLaboklab(62.76% 0.0621 -0.0129)
OKLCHoklch(62.76% 0.063 348.2)
XYZxyz(27.5212, 23.7661, 29.1189)
Luminance0.2377 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6798F #79A690
analogous
#A679A6 #A6798F #A67A79
triadic
#A6798F #8FA679 #798FA6
tetradic
#A6798F #A6A679 #79A690 #7A79A6
square
#A6798F #A6A679 #79A690 #7A79A6
split-complementary
#A6798F #79A67A #79A6A6
monochromatic
#634252 #885A70 #A6798F #BE9EAE #D7C3CC

Accessibility & contrast

On white

3.65
#A6798F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#A6798F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A6798F
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6798F#FFFFFF#000000##000000
##A6798F1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8190
Deuteranopia (green-blind)
#87898E
Tritanopia (blue-blind)
#AC7880
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a6798f;
/* rgb */ color: rgb(166, 121, 143);
/* oklch */ color: oklch(62.8% 0.063 348.2);
Tailwind
colors: {
  custom: {
    50: '#c1a0af',
    500: '#a6798f',
    950: '#000000',
  },
}
SCSS
$custom: #a6798f;
$custom-light: #c1a0af;
$custom-dark: #000000;
JSON
{
  "hex": "#a6798f",
  "rgb": {
    "r": 166,
    "g": 121,
    "b": 143
  },
  "hsl": {
    "h": 330.667,
    "s": 20.179,
    "l": 56.275
  },
  "oklch": {
    "l": 0.62757,
    "c": 0.06346,
    "h": 348.2
  },
  "luminance": 0.23765
}

Semantic roles & 50–950 ramp

primary
#A6798F
secondary
#B4C7BE
accent
#BD956B
background
#FBF9FA
surface
#F7F2F4
border
#D0CCCE
text
#120E10
muted
#817E7F

Preview Lab

Preview with #A6798F

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

Preview Lab → · Contrast checker → · Palette generator →

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