#AC315D#AC315D

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

Color values

HEX#AC315D
RGBrgb(172, 49, 93)
HSLhsl(339, 56%, 43%)
HSVhsv(339, 72%, 67%)
CMYKcmyk(0%, 71.5%, 45.9%, 32.5%)
CIE-LABlab(40.83, 52.87, 3.27)
CIE-LCHlch(40.83, 52.97, 3.54°)
OKLaboklab(51.1% 0.1618 0.009)
OKLCHoklch(51.1% 0.162 3.2)
XYZxyz(20.0889, 11.7602, 11.5659)
Luminance0.1176 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC315D #31AC80
analogous
#AC319A #AC315D #AC4331
triadic
#AC315D #5DAC31 #315DAC
tetradic
#AC315D #9AAC31 #31AC80 #4331AC
square
#AC315D #9AAC31 #31AC80 #4331AC
split-complementary
#AC315D #31AC43 #319AAC
monochromatic
#4D1629 #7C2343 #AC315D #CC4E7B #DA7D9F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC315D#FFFFFF#000000##FFFFFF
##AC315D1.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)
#4C515E
Deuteranopia (green-blind)
#6D695A
Tritanopia (blue-blind)
#BB1D43
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ac315d;
/* rgb */ color: rgb(172, 49, 93);
/* oklch */ color: oklch(51.1% 0.162 3.2);
Tailwind
colors: {
  custom: {
    50: '#ca738a',
    500: '#ac315d',
    950: '#000000',
  },
}
SCSS
$custom: #ac315d;
$custom-light: #ca738a;
$custom-dark: #000000;
JSON
{
  "hex": "#ac315d",
  "rgb": {
    "r": 172,
    "g": 49,
    "b": 93
  },
  "hsl": {
    "h": 338.537,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51101,
    "c": 0.16203,
    "h": 3.2
  },
  "luminance": 0.11758
}

Semantic roles & 50–950 ramp

primary
#AC315D
secondary
#76C3A7
accent
#DFA949
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090B
muted
#837B7C

Preview Lab

Preview with #AC315D

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

Preview Lab → · Contrast checker → · Palette generator →

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