#AC798D#AC798D

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

Color values

HEX#AC798D
RGBrgb(172, 121, 141)
HSLhsl(336, 24%, 57%)
HSVhsv(336, 30%, 67%)
CMYKcmyk(0%, 29.7%, 18%, 32.5%)
CIE-LABlab(56.46, 22.97, -2.84)
CIE-LCHlch(56.46, 23.14, 352.94°)
OKLaboklab(63.35% 0.0685 -0.0072)
OKLCHoklch(63.35% 0.069 354)
XYZxyz(28.6586, 24.3699, 28.3885)
Luminance0.2437 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC798D #79AC98
analogous
#AC79A6 #AC798D #AC7F79
triadic
#AC798D #8DAC79 #798DAC
tetradic
#AC798D #A6AC79 #79AC98 #7F79AC
square
#AC798D #A6AC79 #79AC98 #7F79AC
split-complementary
#AC798D #79AC7F #79A6AC
monochromatic
#694151 #8F596E #AC798D #C39FAD #DBC5CD

Accessibility & contrast

On white

3.58
#AC798D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#AC798D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC798D
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC798D#FFFFFF#000000##000000
##AC798D1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ac798d;
/* rgb */ color: rgb(172, 121, 141);
/* oklch */ color: oklch(63.3% 0.069 354.0);
Tailwind
colors: {
  custom: {
    50: '#c5a0ae',
    500: '#ac798d',
    950: '#000000',
  },
}
SCSS
$custom: #ac798d;
$custom-light: #c5a0ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ac798d",
  "rgb": {
    "r": 172,
    "g": 121,
    "b": 141
  },
  "hsl": {
    "h": 336.471,
    "s": 23.502,
    "l": 57.451
  },
  "oklch": {
    "l": 0.6335,
    "c": 0.06887,
    "h": 354
  },
  "luminance": 0.24368
}

Semantic roles & 50–950 ramp

primary
#AC798D
secondary
#B6CBC3
accent
#C09D68
background
#FCF9FA
surface
#F8F2F4
border
#D1CCCE
text
#130E10
muted
#827E7F

Preview Lab

Preview with #AC798D

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

Preview Lab → · Contrast checker → · Palette generator →

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