#AC25A2#AC25A2

#AC25A2 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.1% C 0.213 H 331.5°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#AC25A2
RGBrgb(172, 37, 162)
HSLhsl(304, 65%, 41%)
HSVhsv(304, 78%, 67%)
CMYKcmyk(0%, 78.5%, 5.8%, 32.5%)
CIE-LABlab(42.31, 65.53, -36.92)
CIE-LCHlch(42.31, 75.22, 330.60°)
OKLaboklab(53.11% 0.1875 -0.1018)
OKLCHoklch(53.11% 0.213 331.5)
XYZxyz(24.1964, 12.7044, 35.3532)
Luminance0.1270 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC25A2 #25AC2F
analogous
#7225AC #AC25A2 #AC255F
triadic
#AC25A2 #A2AC25 #25A2AC
tetradic
#AC25A2 #AC7225 #25AC2F #255FAC
square
#AC25A2 #AC7225 #25AC2F #255FAC
split-complementary
#AC25A2 #5FAC25 #25AC72
monochromatic
#470F43 #7A1A73 #AC25A2 #D53AC9 #DF6CD7

Accessibility & contrast

On white

5.93
#AC25A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#AC25A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC25A2
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC25A2#FFFFFF#000000##FFFFFF
##AC25A21.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1658A5
Deuteranopia (green-blind)
#526A9F
Tritanopia (blue-blind)
#B33763
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac25a2;
/* rgb */ color: rgb(172, 37, 162);
/* oklch */ color: oklch(53.1% 0.213 331.5);
Tailwind
colors: {
  custom: {
    50: '#c970be',
    500: '#ac25a2',
    950: '#000000',
  },
}
SCSS
$custom: #ac25a2;
$custom-light: #c970be;
$custom-dark: #000000;
JSON
{
  "hex": "#ac25a2",
  "rgb": {
    "r": 172,
    "g": 37,
    "b": 162
  },
  "hsl": {
    "h": 304.444,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.53107,
    "c": 0.2133,
    "h": 331.5
  },
  "luminance": 0.12702
}

Semantic roles & 50–950 ramp

primary
#AC25A2
secondary
#67C66E
accent
#E84D40
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC25A2

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

Preview Lab → · Contrast checker → · Palette generator →

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