#AC3157#AC3157

#AC3157 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 50.9% C 0.161 H 6.4°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#AC3157
RGBrgb(172, 49, 87)
HSLhsl(341, 56%, 43%)
HSVhsv(341, 72%, 67%)
CMYKcmyk(0%, 71.5%, 49.4%, 32.5%)
CIE-LABlab(40.67, 52.31, 6.81)
CIE-LCHlch(40.67, 52.75, 7.41°)
OKLaboklab(50.93% 0.1596 0.0178)
OKLCHoklch(50.93% 0.161 6.4)
XYZxyz(19.8335, 11.6580, 10.2208)
Luminance0.1166 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC3157 #31AC86
analogous
#AC3194 #AC3157 #AC4831
triadic
#AC3157 #57AC31 #3157AC
tetradic
#AC3157 #94AC31 #31AC86 #4831AC
square
#AC3157 #94AC31 #31AC86 #4831AC
split-complementary
#AC3157 #31AC48 #3194AC
monochromatic
#4D1627 #7C233F #AC3157 #CC4E75 #DA7D9A

Accessibility & contrast

On white

6.30
#AC3157 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#AC3157 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC3157
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC3157#FFFFFF#000000##FFFFFF
##AC31571.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5058
Deuteranopia (green-blind)
#6E6954
Tritanopia (blue-blind)
#BB1A41
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ac3157;
/* rgb */ color: rgb(172, 49, 87);
/* oklch */ color: oklch(50.9% 0.161 6.4);
Tailwind
colors: {
  custom: {
    50: '#ca7386',
    500: '#ac3157',
    950: '#000000',
  },
}
SCSS
$custom: #ac3157;
$custom-light: #ca7386;
$custom-dark: #000000;
JSON
{
  "hex": "#ac3157",
  "rgb": {
    "r": 172,
    "g": 49,
    "b": 87
  },
  "hsl": {
    "h": 341.463,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50925,
    "c": 0.16056,
    "h": 6.4
  },
  "luminance": 0.11655
}

Semantic roles & 50–950 ramp

primary
#AC3157
secondary
#76C3AB
accent
#DFB149
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14090B
muted
#837B7C

Preview Lab

Preview with #AC3157

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

Preview Lab → · Contrast checker → · Palette generator →

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