#AC315E#AC315E

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

Color values

HEX#AC315E
RGBrgb(172, 49, 94)
HSLhsl(338, 56%, 43%)
HSVhsv(338, 72%, 67%)
CMYKcmyk(0%, 71.5%, 45.3%, 32.5%)
CIE-LABlab(40.86, 52.96, 2.68)
CIE-LCHlch(40.86, 53.03, 2.90°)
OKLaboklab(51.13% 0.1621 0.0075)
OKLCHoklch(51.13% 0.162 2.6)
XYZxyz(20.1335, 11.7780, 11.8007)
Luminance0.1177 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC315E #31AC7F
analogous
#AC319B #AC315E #AC4231
triadic
#AC315E #5EAC31 #315EAC
tetradic
#AC315E #9BAC31 #31AC7F #4231AC
square
#AC315E #9BAC31 #31AC7F #4231AC
split-complementary
#AC315E #31AC42 #319BAC
monochromatic
#4D162A #7C2344 #AC315E #CC4E7C #DA7D9F

Accessibility & contrast

On white

6.26
#AC315E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#AC315E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC315E
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC315E#FFFFFF#000000##FFFFFF
##AC315E1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C515F
Deuteranopia (green-blind)
#6D695B
Tritanopia (blue-blind)
#BB1E44
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ac315e;
/* rgb */ color: rgb(172, 49, 94);
/* oklch */ color: oklch(51.1% 0.162 2.6);
Tailwind
colors: {
  custom: {
    50: '#ca738b',
    500: '#ac315e',
    950: '#000000',
  },
}
SCSS
$custom: #ac315e;
$custom-light: #ca738b;
$custom-dark: #000000;
JSON
{
  "hex": "#ac315e",
  "rgb": {
    "r": 172,
    "g": 49,
    "b": 94
  },
  "hsl": {
    "h": 338.049,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51131,
    "c": 0.16231,
    "h": 2.6
  },
  "luminance": 0.11775
}

Semantic roles & 50–950 ramp

primary
#AC315E
secondary
#76C3A7
accent
#DFA849
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090C
muted
#837B7D

Preview Lab

Preview with #AC315E

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

Preview Lab → · Contrast checker → · Palette generator →

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