#AC2B7C#AC2B7C

#AC2B7C is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.7% C 0.182 H 346.9°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#AC2B7C
RGBrgb(172, 43, 124)
HSLhsl(322, 60%, 42%)
HSVhsv(322, 75%, 67%)
CMYKcmyk(0%, 75%, 27.9%, 32.5%)
CIE-LABlab(41.15, 58.41, -15.61)
CIE-LCHlch(41.15, 60.46, 345.03°)
OKLaboklab(51.68% 0.1776 -0.0413)
OKLCHoklch(51.68% 0.182 346.9)
XYZxyz(21.5162, 11.9560, 20.2395)
Luminance0.1195 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2B7C #2BAC5B
analogous
#9C2BAC #AC2B7C #AC2B3B
triadic
#AC2B7C #7CAC2B #2B7CAC
tetradic
#AC2B7C #AC9C2B #2BAC5B #2B3BAC
square
#AC2B7C #AC9C2B #2BAC5B #2B3BAC
split-complementary
#AC2B7C #3BAC2B #2BAC9C
monochromatic
#4A1335 #7B1F59 #AC2B7C #D0449C #DC75B6

Accessibility & contrast

On white

6.19
#AC2B7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#AC2B7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2B7C
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2B7C#FFFFFF#000000##FFFFFF
##AC2B7C1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D537E
Deuteranopia (green-blind)
#646979
Tritanopia (blue-blind)
#B82750
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ac2b7c;
/* rgb */ color: rgb(172, 43, 124);
/* oklch */ color: oklch(51.7% 0.182 346.9);
Tailwind
colors: {
  custom: {
    50: '#c971a2',
    500: '#ac2b7c',
    950: '#000000',
  },
}
SCSS
$custom: #ac2b7c;
$custom-light: #c971a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2b7c",
  "rgb": {
    "r": 172,
    "g": 43,
    "b": 124
  },
  "hsl": {
    "h": 322.326,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51679,
    "c": 0.18235,
    "h": 346.9
  },
  "luminance": 0.11954
}

Semantic roles & 50–950 ramp

primary
#AC2B7C
secondary
#6FC48E
accent
#E38045
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080F
muted
#827B7E

Preview Lab

Preview with #AC2B7C

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

Preview Lab → · Contrast checker → · Palette generator →

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