#AC2F52#AC2F52

#AC2F52 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.6% C 0.162 H 8.6°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#AC2F52
RGBrgb(172, 47, 82)
HSLhsl(343, 57%, 43%)
HSVhsv(343, 73%, 67%)
CMYKcmyk(0%, 72.7%, 52.3%, 32.5%)
CIE-LABlab(40.27, 52.62, 9.40)
CIE-LCHlch(40.27, 53.45, 10.13°)
OKLaboklab(50.59% 0.16 0.0241)
OKLCHoklch(50.59% 0.162 8.6)
XYZxyz(19.5545, 11.4155, 9.1547)
Luminance0.1141 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2F52 #2FAC89
analogous
#AC2F90 #AC2F52 #AC4A2F
triadic
#AC2F52 #52AC2F #2F52AC
tetradic
#AC2F52 #90AC2F #2FAC89 #4A2FAC
square
#AC2F52 #90AC2F #2FAC89 #4A2FAC
split-complementary
#AC2F52 #2FAC4A #2F90AC
monochromatic
#4C1524 #7C223B #AC2F52 #CE4B6F #DB7B96

Accessibility & contrast

On white

6.40
#AC2F52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#AC2F52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2F52
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2F52#FFFFFF#000000##FFFFFF
##AC2F521.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4F53
Deuteranopia (green-blind)
#6E684F
Tritanopia (blue-blind)
#BC133D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ac2f52;
/* rgb */ color: rgb(172, 47, 82);
/* oklch */ color: oklch(50.6% 0.162 8.6);
Tailwind
colors: {
  custom: {
    50: '#cb7182',
    500: '#ac2f52',
    950: '#000000',
  },
}
SCSS
$custom: #ac2f52;
$custom-light: #cb7182;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2f52",
  "rgb": {
    "r": 172,
    "g": 47,
    "b": 82
  },
  "hsl": {
    "h": 343.2,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5059,
    "c": 0.16184,
    "h": 8.6
  },
  "luminance": 0.11413
}

Semantic roles & 50–950 ramp

primary
#AC2F52
secondary
#74C3AD
accent
#E0B647
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14080A
muted
#837B7C

Preview Lab

Preview with #AC2F52

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

Preview Lab → · Contrast checker → · Palette generator →

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