#AC3187#AC3187

#AC3187 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.7% C 0.182 H 342.4°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#AC3187
RGBrgb(172, 49, 135)
HSLhsl(318, 56%, 43%)
HSVhsv(318, 72%, 67%)
CMYKcmyk(0%, 71.5%, 21.5%, 32.5%)
CIE-LABlab(42.34, 57.79, -20.55)
CIE-LCHlch(42.34, 61.33, 340.43°)
OKLaboklab(52.7% 0.1735 -0.0551)
OKLCHoklch(52.7% 0.182 342.4)
XYZxyz(22.4855, 12.7188, 24.1878)
Luminance0.1272 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC3187 #31AC56
analogous
#9331AC #AC3187 #AC3149
triadic
#AC3187 #87AC31 #3187AC
tetradic
#AC3187 #AC9331 #31AC56 #3149AC
square
#AC3187 #AC9331 #31AC56 #3149AC
split-complementary
#AC3187 #49AC31 #31AC93
monochromatic
#4D163C #7C2362 #AC3187 #CC4EA6 #DA7DBE

Accessibility & contrast

On white

5.93
#AC3187 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#AC3187 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC3187
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC3187#FFFFFF#000000##FFFFFF
##AC31871.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5789
Deuteranopia (green-blind)
#626B84
Tritanopia (blue-blind)
#B73258
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac3187;
/* rgb */ color: rgb(172, 49, 135);
/* oklch */ color: oklch(52.7% 0.182 342.4);
Tailwind
colors: {
  custom: {
    50: '#c874aa',
    500: '#ac3187',
    950: '#000000',
  },
}
SCSS
$custom: #ac3187;
$custom-light: #c874aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ac3187",
  "rgb": {
    "r": 172,
    "g": 49,
    "b": 135
  },
  "hsl": {
    "h": 318.049,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52696,
    "c": 0.182,
    "h": 342.4
  },
  "luminance": 0.12717
}

Semantic roles & 50–950 ramp

primary
#AC3187
secondary
#76C38D
accent
#DF7649
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AC3187

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

Preview Lab → · Contrast checker → · Palette generator →

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