#AC2F6D#AC2F6D

#AC2F6D is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.4% C 0.170 H 354.5°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#AC2F6D
RGBrgb(172, 47, 109)
HSLhsl(330, 57%, 43%)
HSVhsv(330, 73%, 67%)
CMYKcmyk(0%, 72.7%, 36.6%, 32.5%)
CIE-LABlab(41.07, 55.26, -6.41)
CIE-LCHlch(41.07, 55.63, 353.39°)
OKLaboklab(51.44% 0.1694 -0.0162)
OKLCHoklch(51.44% 0.17 354.5)
XYZxyz(20.7914, 11.9103, 15.6691)
Luminance0.1191 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2F6D #2FAC6E
analogous
#AC2FAB #AC2F6D #AC2F2F
triadic
#AC2F6D #6DAC2F #2F6DAC
tetradic
#AC2F6D #ABAC2F #2FAC6E #2F2FAC
square
#AC2F6D #ABAC2F #2FAC6E #2F2FAC
split-complementary
#AC2F6D #2FAC2F #2FABAC
monochromatic
#4C1530 #7C224F #AC2F6D #CE4B8C #DB7BAA

Accessibility & contrast

On white

6.21
#AC2F6D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#AC2F6D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2F6D
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2F6D#FFFFFF#000000##FFFFFF
##AC2F6D1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46526F
Deuteranopia (green-blind)
#69696A
Tritanopia (blue-blind)
#BA234A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ac2f6d;
/* rgb */ color: rgb(172, 47, 109);
/* oklch */ color: oklch(51.4% 0.170 354.5);
Tailwind
colors: {
  custom: {
    50: '#c97296',
    500: '#ac2f6d',
    950: '#000000',
  },
}
SCSS
$custom: #ac2f6d;
$custom-light: #c97296;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2f6d",
  "rgb": {
    "r": 172,
    "g": 47,
    "b": 109
  },
  "hsl": {
    "h": 330.24,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51443,
    "c": 0.17018,
    "h": 354.5
  },
  "luminance": 0.11908
}

Semantic roles & 50–950 ramp

primary
#AC2F6D
secondary
#74C39C
accent
#E09547
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090D
muted
#827B7E

Preview Lab

Preview with #AC2F6D

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

Preview Lab → · Contrast checker → · Palette generator →

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