#AC6797#AC6797

#AC6797 is a mid, moderate pink. Relative luminance 0.207; OKLCH L 60.5% C 0.108 H 339.2°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#AC6797
RGBrgb(172, 103, 151)
HSLhsl(318, 29%, 54%)
HSVhsv(318, 40%, 67%)
CMYKcmyk(0%, 40.1%, 12.2%, 32.5%)
CIE-LABlab(52.63, 34.69, -14.40)
CIE-LCHlch(52.63, 37.56, 337.45°)
OKLaboklab(60.54% 0.1011 -0.0384)
OKLCHoklch(60.54% 0.108 339.2)
XYZxyz(27.4495, 20.7071, 31.8232)
Luminance0.2071 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC6797 #67AC7C
analogous
#9F67AC #AC6797 #AC6775
triadic
#AC6797 #97AC67 #6797AC
tetradic
#AC6797 #AC9F67 #67AC7C #6775AC
square
#AC6797 #AC9F67 #67AC7C #6775AC
split-complementary
#AC6797 #75AC67 #67AC9F
monochromatic
#633655 #8A4C77 #AC6797 #C28FB2 #D7B6CD

Accessibility & contrast

On white

4.08
#AC6797 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#AC6797 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC6797
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC6797#FFFFFF#000000##000000
##AC67971.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#697799
Deuteranopia (green-blind)
#7B8295
Tritanopia (blue-blind)
#B36879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ac6797;
/* rgb */ color: rgb(172, 103, 151);
/* oklch */ color: oklch(60.5% 0.108 339.2);
Tailwind
colors: {
  custom: {
    50: '#c694b5',
    500: '#ac6797',
    950: '#000000',
  },
}
SCSS
$custom: #ac6797;
$custom-light: #c694b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac6797",
  "rgb": {
    "r": 172,
    "g": 103,
    "b": 151
  },
  "hsl": {
    "h": 318.261,
    "s": 29.362,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60541,
    "c": 0.1082,
    "h": 339.2
  },
  "luminance": 0.20706
}

Semantic roles & 50–950 ramp

primary
#AC6797
secondary
#A9C6B2
accent
#C68062
background
#FCF9FB
surface
#F8F1F6
border
#D1CBD0
text
#130D11
muted
#827E80

Preview Lab

Preview with #AC6797

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

Preview Lab → · Contrast checker → · Palette generator →

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