#AC2BAB#AC2BAB

#AC2BAB is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.1% C 0.214 H 328.4°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#AC2BAB
RGBrgb(172, 43, 171)
HSLhsl(300, 60%, 42%)
HSVhsv(300, 75%, 67%)
CMYKcmyk(0%, 75%, 0.6%, 32.5%)
CIE-LABlab(43.42, 65.21, -40.54)
CIE-LCHlch(43.42, 76.78, 328.13°)
OKLaboklab(54.06% 0.1825 -0.1123)
OKLCHoklch(54.06% 0.214 328.4)
XYZxyz(25.2275, 13.4406, 39.7857)
Luminance0.1344 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2BAB #2BAC2C
analogous
#6D2BAC #AC2BAB #AC2B6B
triadic
#AC2BAB #ABAC2B #2BABAC
tetradic
#AC2BAB #AC6D2B #2BAC2C #2B6BAC
square
#AC2BAB #AC6D2B #2BAC2C #2B6BAC
split-complementary
#AC2BAB #6BAC2B #2BAC6D
monochromatic
#4A134A #7B1F7A #AC2BAB #D044CF #DC75DC

Accessibility & contrast

On white

5.69
#AC2BAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#AC2BAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2BAB
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2BAB#FFFFFF#000000##FFFFFF
##AC2BAB1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5CAE
Deuteranopia (green-blind)
#506CA8
Tritanopia (blue-blind)
#B23F69
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ac2bab;
/* rgb */ color: rgb(172, 43, 171);
/* oklch */ color: oklch(54.1% 0.214 328.4);
Tailwind
colors: {
  custom: {
    50: '#c973c4',
    500: '#ac2bab',
    950: '#000000',
  },
}
SCSS
$custom: #ac2bab;
$custom-light: #c973c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2bab",
  "rgb": {
    "r": 172,
    "g": 43,
    "b": 171
  },
  "hsl": {
    "h": 300.465,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.54057,
    "c": 0.21424,
    "h": 328.4
  },
  "luminance": 0.13439
}

Semantic roles & 50–950 ramp

primary
#AC2BAB
secondary
#6FC46F
accent
#E34645
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC2BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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