#AC2A7B#AC2A7B

#AC2A7B is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.6% C 0.183 H 347.3°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#AC2A7B
RGBrgb(172, 42, 123)
HSLhsl(323, 61%, 42%)
HSVhsv(323, 76%, 67%)
CMYKcmyk(0%, 75.6%, 28.5%, 32.5%)
CIE-LABlab(40.99, 58.61, -15.23)
CIE-LCHlch(40.99, 60.56, 345.43°)
OKLaboklab(51.55% 0.1784 -0.0402)
OKLCHoklch(51.55% 0.183 347.3)
XYZxyz(21.4174, 11.8590, 19.8962)
Luminance0.1186 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2A7B #2AAC5B
analogous
#9C2AAC #AC2A7B #AC2A3A
triadic
#AC2A7B #7BAC2A #2A7BAC
tetradic
#AC2A7B #AC9C2A #2AAC5B #2A3AAC
square
#AC2A7B #AC9C2A #2AAC5B #2A3AAC
split-complementary
#AC2A7B #3AAC2A #2AAC9C
monochromatic
#4A1235 #7B1E58 #AC2A7B #D1429B #DD73B5

Accessibility & contrast

On white

6.23
#AC2A7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#AC2A7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2A7B
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2A7B#FFFFFF#000000##FFFFFF
##AC2A7B1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D527D
Deuteranopia (green-blind)
#646978
Tritanopia (blue-blind)
#B8254F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ac2a7b;
/* rgb */ color: rgb(172, 42, 123);
/* oklch */ color: oklch(51.6% 0.183 347.3);
Tailwind
colors: {
  custom: {
    50: '#c971a1',
    500: '#ac2a7b',
    950: '#000000',
  },
}
SCSS
$custom: #ac2a7b;
$custom-light: #c971a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2a7b",
  "rgb": {
    "r": 172,
    "g": 42,
    "b": 123
  },
  "hsl": {
    "h": 322.615,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51553,
    "c": 0.18288,
    "h": 347.3
  },
  "luminance": 0.11857
}

Semantic roles & 50–950 ramp

primary
#AC2A7B
secondary
#6DC48E
accent
#E48044
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080F
muted
#827B7E

Preview Lab

Preview with #AC2A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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