#A8798E#A8798E

#A8798E is a light, moderate pink. Relative luminance 0.240; OKLCH L 62.9% C 0.065 H 350.7°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#A8798E
RGBrgb(168, 121, 142)
HSLhsl(333, 21%, 57%)
HSVhsv(333, 28%, 66%)
CMYKcmyk(0%, 28%, 15.5%, 34.1%)
CIE-LABlab(56.04, 21.65, -4.09)
CIE-LCHlch(56.04, 22.03, 349.31°)
OKLaboklab(62.94% 0.0641 -0.0105)
OKLCHoklch(62.94% 0.065 350.7)
XYZxyz(27.8684, 23.9538, 28.7415)
Luminance0.2395 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8798E #79A893
analogous
#A879A6 #A8798E #A87C79
triadic
#A8798E #8EA879 #798EA8
tetradic
#A8798E #A6A879 #79A893 #7C79A8
square
#A8798E #A6A879 #79A893 #7C79A8
split-complementary
#A8798E #79A87C #79A6A8
monochromatic
#654251 #8A5A6F #A8798E #C09EAD #D8C3CD

Accessibility & contrast

On white

3.63
#A8798E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#A8798E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A8798E
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8798E#FFFFFF#000000##000000
##A8798E1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D828F
Deuteranopia (green-blind)
#88898D
Tritanopia (blue-blind)
#AF7880
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a8798e;
/* rgb */ color: rgb(168, 121, 142);
/* oklch */ color: oklch(62.9% 0.065 350.7);
Tailwind
colors: {
  custom: {
    50: '#c2a0af',
    500: '#a8798e',
    950: '#000000',
  },
}
SCSS
$custom: #a8798e;
$custom-light: #c2a0af;
$custom-dark: #000000;
JSON
{
  "hex": "#a8798e",
  "rgb": {
    "r": 168,
    "g": 121,
    "b": 142
  },
  "hsl": {
    "h": 333.191,
    "s": 21.267,
    "l": 56.667
  },
  "oklch": {
    "l": 0.62942,
    "c": 0.06499,
    "h": 350.7
  },
  "luminance": 0.23953
}

Semantic roles & 50–950 ramp

primary
#A8798E
secondary
#B5C8BF
accent
#BE986A
background
#FCF9FA
surface
#F8F2F4
border
#D1CCCE
text
#120E10
muted
#817E7F

Preview Lab

Preview with #A8798E

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

Preview Lab → · Contrast checker → · Palette generator →

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