#AC315C#AC315C

#AC315C is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.1% C 0.162 H 3.7°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#AC315C
RGBrgb(172, 49, 92)
HSLhsl(339, 56%, 43%)
HSVhsv(339, 72%, 67%)
CMYKcmyk(0%, 71.5%, 46.5%, 32.5%)
CIE-LABlab(40.80, 52.77, 3.86)
CIE-LCHlch(40.80, 52.91, 4.18°)
OKLaboklab(51.07% 0.1614 0.0105)
OKLCHoklch(51.07% 0.162 3.7)
XYZxyz(20.0449, 11.7426, 11.3341)
Luminance0.1174 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC315C #31AC81
analogous
#AC3199 #AC315C #AC4331
triadic
#AC315C #5CAC31 #315CAC
tetradic
#AC315C #99AC31 #31AC81 #4331AC
square
#AC315C #99AC31 #31AC81 #4331AC
split-complementary
#AC315C #31AC43 #3199AC
monochromatic
#4D1629 #7C2343 #AC315C #CC4E7A #DA7D9E

Accessibility & contrast

On white

6.27
#AC315C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#AC315C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC315C
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC315C#FFFFFF#000000##FFFFFF
##AC315C1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C515D
Deuteranopia (green-blind)
#6D6959
Tritanopia (blue-blind)
#BB1D43
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ac315c;
/* rgb */ color: rgb(172, 49, 92);
/* oklch */ color: oklch(51.1% 0.162 3.7);
Tailwind
colors: {
  custom: {
    50: '#ca7389',
    500: '#ac315c',
    950: '#000000',
  },
}
SCSS
$custom: #ac315c;
$custom-light: #ca7389;
$custom-dark: #000000;
JSON
{
  "hex": "#ac315c",
  "rgb": {
    "r": 172,
    "g": 49,
    "b": 92
  },
  "hsl": {
    "h": 339.024,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.5107,
    "c": 0.16176,
    "h": 3.7
  },
  "luminance": 0.1174
}

Semantic roles & 50–950 ramp

primary
#AC315C
secondary
#76C3A8
accent
#DFAA49
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090B
muted
#837B7C

Preview Lab

Preview with #AC315C

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

Preview Lab → · Contrast checker → · Palette generator →

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