#AC4087#AC4087

#AC4087 is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.3% C 0.162 H 343.5°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#AC4087
RGBrgb(172, 64, 135)
HSLhsl(321, 46%, 46%)
HSVhsv(321, 63%, 67%)
CMYKcmyk(0%, 62.8%, 21.5%, 32.5%)
CIE-LABlab(44.50, 51.78, -17.22)
CIE-LCHlch(44.50, 54.57, 341.61°)
OKLaboklab(54.28% 0.1552 -0.0459)
OKLCHoklch(54.28% 0.162 343.5)
XYZxyz(23.2205, 14.1889, 24.4328)
Luminance0.1419 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4087 #40AC65
analogous
#9B40AC #AC4087 #AC4051
triadic
#AC4087 #87AC40 #4087AC
tetradic
#AC4087 #AC9B40 #40AC65 #4051AC
square
#AC4087 #AC9B40 #40AC65 #4051AC
split-complementary
#AC4087 #51AC40 #40AC9B
monochromatic
#531F41 #7F2F64 #AC4087 #C564A4 #D691BE

Accessibility & contrast

On white

5.47
#AC4087 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#AC4087 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC4087
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4087#FFFFFF#000000##FFFFFF
##AC40871.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495E89
Deuteranopia (green-blind)
#697084
Tritanopia (blue-blind)
#B7405E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ac4087;
/* rgb */ color: rgb(172, 64, 135);
/* oklch */ color: oklch(54.3% 0.162 343.5);
Tailwind
colors: {
  custom: {
    50: '#c87baa',
    500: '#ac4087',
    950: '#000000',
  },
}
SCSS
$custom: #ac4087;
$custom-light: #c87baa;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4087",
  "rgb": {
    "r": 172,
    "g": 64,
    "b": 135
  },
  "hsl": {
    "h": 320.556,
    "s": 45.763,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54281,
    "c": 0.16183,
    "h": 343.5
  },
  "luminance": 0.14187
}

Semantic roles & 50–950 ramp

primary
#AC4087
secondary
#87C19B
accent
#D57F52
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130A10
muted
#827C7F

Preview Lab

Preview with #AC4087

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

Preview Lab → · Contrast checker → · Palette generator →

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