#AC315F#AC315F

#AC315F is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.2% C 0.163 H 2.1°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#AC315F
RGBrgb(172, 49, 95)
HSLhsl(338, 56%, 43%)
HSVhsv(338, 72%, 67%)
CMYKcmyk(0%, 71.5%, 44.8%, 32.5%)
CIE-LABlab(40.89, 53.06, 2.09)
CIE-LCHlch(40.89, 53.10, 2.26°)
OKLaboklab(51.16% 0.1625 0.006)
OKLCHoklch(51.16% 0.163 2.1)
XYZxyz(20.1787, 11.7961, 12.0385)
Luminance0.1179 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC315F #31AC7E
analogous
#AC319C #AC315F #AC4031
triadic
#AC315F #5FAC31 #315FAC
tetradic
#AC315F #9CAC31 #31AC7E #4031AC
square
#AC315F #9CAC31 #31AC7E #4031AC
split-complementary
#AC315F #31AC40 #319CAC
monochromatic
#4D162A #7C2345 #AC315F #CC4E7D #DA7DA0

Accessibility & contrast

On white

6.25
#AC315F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC315F
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC315F#FFFFFF#000000##FFFFFF
##AC315F1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ac315f;
/* rgb */ color: rgb(172, 49, 95);
/* oklch */ color: oklch(51.2% 0.163 2.1);
Tailwind
colors: {
  custom: {
    50: '#ca738c',
    500: '#ac315f',
    950: '#000000',
  },
}
SCSS
$custom: #ac315f;
$custom-light: #ca738c;
$custom-dark: #000000;
JSON
{
  "hex": "#ac315f",
  "rgb": {
    "r": 172,
    "g": 49,
    "b": 95
  },
  "hsl": {
    "h": 337.561,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51162,
    "c": 0.16261,
    "h": 2.1
  },
  "luminance": 0.11794
}

Semantic roles & 50–950 ramp

primary
#AC315F
secondary
#76C3A6
accent
#DFA749
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090C
muted
#837B7D

Preview Lab

Preview with #AC315F

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

Preview Lab → · Contrast checker → · Palette generator →

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