#AC3181#AC3181

#AC3181 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.4% C 0.178 H 345.1°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#AC3181
RGBrgb(172, 49, 129)
HSLhsl(321, 56%, 43%)
HSVhsv(321, 72%, 67%)
CMYKcmyk(0%, 71.5%, 25%, 32.5%)
CIE-LABlab(42.08, 56.98, -17.26)
CIE-LCHlch(42.08, 59.54, 343.15°)
OKLaboklab(52.43% 0.1723 -0.0459)
OKLCHoklch(52.43% 0.178 345.1)
XYZxyz(22.0749, 12.5546, 22.0254)
Luminance0.1255 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC3181 #31AC5C
analogous
#9931AC #AC3181 #AC3143
triadic
#AC3181 #81AC31 #3181AC
tetradic
#AC3181 #AC9931 #31AC5C #3143AC
square
#AC3181 #AC9931 #31AC5C #3143AC
split-complementary
#AC3181 #43AC31 #31AC99
monochromatic
#4D163A #7C235D #AC3181 #CC4EA0 #DA7DBA

Accessibility & contrast

On white

5.98
#AC3181 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#AC3181 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC3181
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC3181#FFFFFF#000000##FFFFFF
##AC31811.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5683
Deuteranopia (green-blind)
#646B7E
Tritanopia (blue-blind)
#B72F55
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ac3181;
/* rgb */ color: rgb(172, 49, 129);
/* oklch */ color: oklch(52.4% 0.178 345.1);
Tailwind
colors: {
  custom: {
    50: '#c974a5',
    500: '#ac3181',
    950: '#000000',
  },
}
SCSS
$custom: #ac3181;
$custom-light: #c974a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac3181",
  "rgb": {
    "r": 172,
    "g": 49,
    "b": 129
  },
  "hsl": {
    "h": 320.976,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.5243,
    "c": 0.17828,
    "h": 345.1
  },
  "luminance": 0.12552
}

Semantic roles & 50–950 ramp

primary
#AC3181
secondary
#76C391
accent
#DF7D49
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AC3181

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

Preview Lab → · Contrast checker → · Palette generator →

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