#AC798E#AC798E

#AC798E is a light, moderate pink. Relative luminance 0.244; OKLCH L 63.4% C 0.069 H 352.8°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#AC798E
RGBrgb(172, 121, 142)
HSLhsl(335, 24%, 57%)
HSVhsv(335, 30%, 67%)
CMYKcmyk(0%, 29.7%, 17.4%, 32.5%)
CIE-LABlab(56.49, 23.13, -3.38)
CIE-LCHlch(56.49, 23.38, 351.69°)
OKLaboklab(63.38% 0.0689 -0.0086)
OKLCHoklch(63.38% 0.069 352.8)
XYZxyz(28.7333, 24.3998, 28.7821)
Luminance0.2440 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC798E #79AC97
analogous
#AC79A7 #AC798E #AC7E79
triadic
#AC798E #8EAC79 #798EAC
tetradic
#AC798E #A7AC79 #79AC97 #7E79AC
square
#AC798E #A7AC79 #79AC97 #7E79AC
split-complementary
#AC798E #79AC7E #79A7AC
monochromatic
#694152 #8F596F #AC798E #C39FAE #DBC5CE

Accessibility & contrast

On white

3.57
#AC798E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#AC798E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC798E
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC798E#FFFFFF#000000##000000
##AC798E1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E828F
Deuteranopia (green-blind)
#8A8B8D
Tritanopia (blue-blind)
#B47780
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ac798e;
/* rgb */ color: rgb(172, 121, 142);
/* oklch */ color: oklch(63.4% 0.069 352.8);
Tailwind
colors: {
  custom: {
    50: '#c5a0af',
    500: '#ac798e',
    950: '#000000',
  },
}
SCSS
$custom: #ac798e;
$custom-light: #c5a0af;
$custom-dark: #000000;
JSON
{
  "hex": "#ac798e",
  "rgb": {
    "r": 172,
    "g": 121,
    "b": 142
  },
  "hsl": {
    "h": 335.294,
    "s": 23.502,
    "l": 57.451
  },
  "oklch": {
    "l": 0.63383,
    "c": 0.0694,
    "h": 352.8
  },
  "luminance": 0.24398
}

Semantic roles & 50–950 ramp

primary
#AC798E
secondary
#B6CBC2
accent
#C09C68
background
#FCF9FA
surface
#F8F2F4
border
#D1CCCE
text
#130E10
muted
#827E7F

Preview Lab

Preview with #AC798E

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

Preview Lab → · Contrast checker → · Palette generator →

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