#AC2F79#AC2F79

#AC2F79 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.9% C 0.176 H 348.7°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#AC2F79
RGBrgb(172, 47, 121)
HSLhsl(324, 57%, 43%)
HSVhsv(324, 73%, 67%)
CMYKcmyk(0%, 72.7%, 29.7%, 32.5%)
CIE-LABlab(41.51, 56.67, -13.20)
CIE-LCHlch(41.51, 58.19, 346.89°)
OKLaboklab(51.91% 0.1727 -0.0346)
OKLCHoklch(51.91% 0.176 348.7)
XYZxyz(21.4820, 12.1866, 19.3064)
Luminance0.1218 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2F79 #2FAC62
analogous
#A02FAC #AC2F79 #AC2F3A
triadic
#AC2F79 #79AC2F #2F79AC
tetradic
#AC2F79 #ACA02F #2FAC62 #2F3AAC
square
#AC2F79 #ACA02F #2FAC62 #2F3AAC
split-complementary
#AC2F79 #3AAC2F #2FACA0
monochromatic
#4C1535 #7C2257 #AC2F79 #CE4B98 #DB7BB4

Accessibility & contrast

On white

6.11
#AC2F79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#AC2F79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2F79
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2F79#FFFFFF#000000##FFFFFF
##AC2F791.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41547B
Deuteranopia (green-blind)
#666A76
Tritanopia (blue-blind)
#B82950
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac2f79;
/* rgb */ color: rgb(172, 47, 121);
/* oklch */ color: oklch(51.9% 0.176 348.7);
Tailwind
colors: {
  custom: {
    50: '#c9739f',
    500: '#ac2f79',
    950: '#000000',
  },
}
SCSS
$custom: #ac2f79;
$custom-light: #c9739f;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2f79",
  "rgb": {
    "r": 172,
    "g": 47,
    "b": 121
  },
  "hsl": {
    "h": 324.48,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51907,
    "c": 0.17611,
    "h": 348.7
  },
  "luminance": 0.12184
}

Semantic roles & 50–950 ramp

primary
#AC2F79
secondary
#74C394
accent
#E08647
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AC2F79

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

Preview Lab → · Contrast checker → · Palette generator →

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