#AC2F6E#AC2F6E

#AC2F6E is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.5% C 0.171 H 354.0°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#AC2F6E
RGBrgb(172, 47, 110)
HSLhsl(330, 57%, 43%)
HSVhsv(330, 73%, 67%)
CMYKcmyk(0%, 72.7%, 36%, 32.5%)
CIE-LABlab(41.11, 55.37, -6.98)
CIE-LCHlch(41.11, 55.81, 352.82°)
OKLaboklab(51.48% 0.1697 -0.0177)
OKLCHoklch(51.48% 0.171 354)
XYZxyz(20.8455, 11.9320, 15.9542)
Luminance0.1193 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2F6E #2FAC6D
analogous
#AB2FAC #AC2F6E #AC2F2F
triadic
#AC2F6E #6EAC2F #2F6EAC
tetradic
#AC2F6E #ACAB2F #2FAC6D #2F2FAC
square
#AC2F6E #ACAB2F #2FAC6D #2F2FAC
split-complementary
#AC2F6E #2FAC2F #2FACAB
monochromatic
#4C1531 #7C224F #AC2F6E #CE4B8D #DB7BAB

Accessibility & contrast

On white

6.20
#AC2F6E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC2F6E
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2F6E#FFFFFF#000000##FFFFFF
##AC2F6E1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465270
Deuteranopia (green-blind)
#69696B
Tritanopia (blue-blind)
#B9234A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ac2f6e;
/* rgb */ color: rgb(172, 47, 110);
/* oklch */ color: oklch(51.5% 0.171 354.0);
Tailwind
colors: {
  custom: {
    50: '#c97297',
    500: '#ac2f6e',
    950: '#000000',
  },
}
SCSS
$custom: #ac2f6e;
$custom-light: #c97297;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2f6e",
  "rgb": {
    "r": 172,
    "g": 47,
    "b": 110
  },
  "hsl": {
    "h": 329.76,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51479,
    "c": 0.17064,
    "h": 354
  },
  "luminance": 0.11929
}

Semantic roles & 50–950 ramp

primary
#AC2F6E
secondary
#74C39B
accent
#E09347
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090D
muted
#827B7E

Preview Lab

Preview with #AC2F6E

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

Preview Lab → · Contrast checker → · Palette generator →

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