#AC2B9F#AC2B9F

#AC2B9F is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.4% C 0.205 H 332.6°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#AC2B9F
RGBrgb(172, 43, 159)
HSLhsl(306, 60%, 42%)
HSVhsv(306, 75%, 67%)
CMYKcmyk(0%, 75%, 7.6%, 32.5%)
CIE-LABlab(42.77, 63.31, -34.41)
CIE-LCHlch(42.77, 72.05, 331.48°)
OKLaboklab(53.38% 0.1823 -0.0945)
OKLCHoklch(53.38% 0.205 332.6)
XYZxyz(24.1352, 13.0036, 34.0330)
Luminance0.1300 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2B9F #2BAC38
analogous
#792BAC #AC2B9F #AC2B5E
triadic
#AC2B9F #9FAC2B #2B9FAC
tetradic
#AC2B9F #AC792B #2BAC38 #2B5EAC
square
#AC2B9F #AC792B #2BAC38 #2B5EAC
split-complementary
#AC2B9F #5EAC2B #2BAC79
monochromatic
#4A1344 #7B1F72 #AC2B9F #D044C2 #DC75D2

Accessibility & contrast

On white

5.83
#AC2B9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#AC2B9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2B9F
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2B9F#FFFFFF#000000##FFFFFF
##AC2B9F1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2459A2
Deuteranopia (green-blind)
#566B9C
Tritanopia (blue-blind)
#B43963
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac2b9f;
/* rgb */ color: rgb(172, 43, 159);
/* oklch */ color: oklch(53.4% 0.205 332.6);
Tailwind
colors: {
  custom: {
    50: '#c872bc',
    500: '#ac2b9f',
    950: '#000000',
  },
}
SCSS
$custom: #ac2b9f;
$custom-light: #c872bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2b9f",
  "rgb": {
    "r": 172,
    "g": 43,
    "b": 159
  },
  "hsl": {
    "h": 306.047,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.5338,
    "c": 0.20531,
    "h": 332.6
  },
  "luminance": 0.13002
}

Semantic roles & 50–950 ramp

primary
#AC2B9F
secondary
#6FC477
accent
#E35545
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC2B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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