#AC7EA2#AC7EA2

#AC7EA2 is a light, moderate pink. Relative luminance 0.263; OKLCH L 65.0% C 0.075 H 334.3°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#AC7EA2
RGBrgb(172, 126, 162)
HSLhsl(313, 22%, 58%)
HSVhsv(313, 27%, 67%)
CMYKcmyk(0%, 26.7%, 5.8%, 32.5%)
CIE-LABlab(58.32, 23.80, -12.20)
CIE-LCHlch(58.32, 26.74, 332.87°)
OKLaboklab(65% 0.0678 -0.0326)
OKLCHoklch(65% 0.075 334.3)
XYZxyz(30.9953, 26.3021, 37.6195)
Luminance0.2630 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC7EA2 #7EAC88
analogous
#9F7EAC #AC7EA2 #AC7E8B
triadic
#AC7EA2 #A2AC7E #7EA2AC
tetradic
#AC7EA2 #AC9F7E #7EAC88 #7E8BAC
square
#AC7EA2 #AC9F7E #7EAC88 #7E8BAC
split-complementary
#AC7EA2 #8BAC7E #7EAC9F
monochromatic
#6B4563 #905D85 #AC7EA2 #C4A3BD #DCC8D8

Accessibility & contrast

On white

3.35
#AC7EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#AC7EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC7EA2
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC7EA2#FFFFFF#000000##000000
##AC7EA21.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E88A3
Deuteranopia (green-blind)
#898FA1
Tritanopia (blue-blind)
#B1808A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ac7ea2;
/* rgb */ color: rgb(172, 126, 162);
/* oklch */ color: oklch(65.0% 0.075 334.3);
Tailwind
colors: {
  custom: {
    50: '#c5a4bd',
    500: '#ac7ea2',
    950: '#000000',
  },
}
SCSS
$custom: #ac7ea2;
$custom-light: #c5a4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ac7ea2",
  "rgb": {
    "r": 172,
    "g": 126,
    "b": 162
  },
  "hsl": {
    "h": 313.043,
    "s": 21.698,
    "l": 58.431
  },
  "oklch": {
    "l": 0.65,
    "c": 0.07521,
    "h": 334.3
  },
  "luminance": 0.26301
}

Semantic roles & 50–950 ramp

primary
#AC7EA2
secondary
#BACCBE
accent
#BE7C6A
background
#FCFAFB
surface
#F8F4F6
border
#D1CED0
text
#130F12
muted
#827F81

Preview Lab

Preview with #AC7EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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