#AC2B7F#AC2B7F

#AC2B7F is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.8% C 0.184 H 345.6°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#AC2B7F
RGBrgb(172, 43, 127)
HSLhsl(321, 60%, 42%)
HSVhsv(321, 75%, 67%)
CMYKcmyk(0%, 75%, 26.2%, 32.5%)
CIE-LABlab(41.27, 58.79, -17.28)
CIE-LCHlch(41.27, 61.27, 343.62°)
OKLaboklab(51.81% 0.1783 -0.0459)
OKLCHoklch(51.81% 0.184 345.6)
XYZxyz(21.7088, 12.0331, 21.2539)
Luminance0.1203 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2B7F #2BAC58
analogous
#982BAC #AC2B7F #AC2B3F
triadic
#AC2B7F #7FAC2B #2B7FAC
tetradic
#AC2B7F #AC982B #2BAC58 #2B3FAC
square
#AC2B7F #AC982B #2BAC58 #2B3FAC
split-complementary
#AC2B7F #3FAC2B #2BAC98
monochromatic
#4A1337 #7B1F5B #AC2B7F #D0449F #DC75B8

Accessibility & contrast

On white

6.17
#AC2B7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#AC2B7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2B7F
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2B7F#FFFFFF#000000##FFFFFF
##AC2B7F1.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5381
Deuteranopia (green-blind)
#63697C
Tritanopia (blue-blind)
#B82851
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ac2b7f;
/* rgb */ color: rgb(172, 43, 127);
/* oklch */ color: oklch(51.8% 0.184 345.6);
Tailwind
colors: {
  custom: {
    50: '#c971a4',
    500: '#ac2b7f',
    950: '#000000',
  },
}
SCSS
$custom: #ac2b7f;
$custom-light: #c971a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2b7f",
  "rgb": {
    "r": 172,
    "g": 43,
    "b": 127
  },
  "hsl": {
    "h": 320.93,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51809,
    "c": 0.18406,
    "h": 345.6
  },
  "luminance": 0.12031
}

Semantic roles & 50–950 ramp

primary
#AC2B7F
secondary
#6FC48C
accent
#E37C45
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AC2B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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