#A6798E#A6798E

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

Color values

HEX#A6798E
RGBrgb(166, 121, 142)
HSLhsl(332, 20%, 56%)
HSVhsv(332, 27%, 65%)
CMYKcmyk(0%, 27.1%, 14.5%, 34.9%)
CIE-LABlab(55.82, 20.90, -4.43)
CIE-LCHlch(55.82, 21.37, 348.02°)
OKLaboklab(62.72% 0.0618 -0.0115)
OKLCHoklch(62.72% 0.063 349.5)
XYZxyz(27.4457, 23.7359, 28.7217)
Luminance0.2374 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6798E #79A691
analogous
#A679A5 #A6798E #A67B79
triadic
#A6798E #8EA679 #798EA6
tetradic
#A6798E #A5A679 #79A691 #7B79A6
square
#A6798E #A5A679 #79A691 #7B79A6
split-complementary
#A6798E #79A67B #79A5A6
monochromatic
#634251 #885A6F #A6798E #BE9EAD #D7C3CC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6798E#FFFFFF#000000##000000
##A6798E1.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)
#7D818F
Deuteranopia (green-blind)
#87898D
Tritanopia (blue-blind)
#AD7880
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a6798e;
/* rgb */ color: rgb(166, 121, 142);
/* oklch */ color: oklch(62.7% 0.063 349.5);
Tailwind
colors: {
  custom: {
    50: '#c1a0af',
    500: '#a6798e',
    950: '#000000',
  },
}
SCSS
$custom: #a6798e;
$custom-light: #c1a0af;
$custom-dark: #000000;
JSON
{
  "hex": "#a6798e",
  "rgb": {
    "r": 166,
    "g": 121,
    "b": 142
  },
  "hsl": {
    "h": 332,
    "s": 20.179,
    "l": 56.275
  },
  "oklch": {
    "l": 0.62724,
    "c": 0.06282,
    "h": 349.5
  },
  "luminance": 0.23735
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A6798E

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

Preview Lab → · Contrast checker → · Palette generator →

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