#AC2A6B#AC2A6B

#AC2A6B is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.9% C 0.175 H 354.9°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#AC2A6B
RGBrgb(172, 42, 107)
HSLhsl(330, 61%, 42%)
HSVhsv(330, 76%, 67%)
CMYKcmyk(0%, 75.6%, 37.8%, 32.5%)
CIE-LABlab(40.39, 56.75, -6.17)
CIE-LCHlch(40.39, 57.09, 353.80°)
OKLaboklab(50.92% 0.1742 -0.0155)
OKLCHoklch(50.92% 0.175 354.9)
XYZxyz(20.4964, 11.4907, 15.0456)
Luminance0.1149 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2A6B #2AAC6B
analogous
#AC2AAC #AC2A6B #AC2A2A
triadic
#AC2A6B #6BAC2A #2A6BAC
tetradic
#AC2A6B #ACAC2A #2AAC6B #2A2AAC
square
#AC2A6B #ACAC2A #2AAC6B #2A2AAC
split-complementary
#AC2A6B #2AAC2A #2AACAC
monochromatic
#4A122E #7B1E4C #AC2A6B #D1428A #DD73A8

Accessibility & contrast

On white

6.37
#AC2A6B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#AC2A6B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2A6B
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2A6B#FFFFFF#000000##FFFFFF
##AC2A6B1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44506D
Deuteranopia (green-blind)
#686868
Tritanopia (blue-blind)
#BA1B47
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ac2a6b;
/* rgb */ color: rgb(172, 42, 107);
/* oklch */ color: oklch(50.9% 0.175 354.9);
Tailwind
colors: {
  custom: {
    50: '#ca7095',
    500: '#ac2a6b',
    950: '#000000',
  },
}
SCSS
$custom: #ac2a6b;
$custom-light: #ca7095;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2a6b",
  "rgb": {
    "r": 172,
    "g": 42,
    "b": 107
  },
  "hsl": {
    "h": 330,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50923,
    "c": 0.17493,
    "h": 354.9
  },
  "luminance": 0.11488
}

Semantic roles & 50–950 ramp

primary
#AC2A6B
secondary
#6DC499
accent
#E49444
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14080D
muted
#837B7E

Preview Lab

Preview with #AC2A6B

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

Preview Lab → · Contrast checker → · Palette generator →

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