#AC2B98#AC2B98

#AC2B98 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.0% C 0.200 H 335.2°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#AC2B98
RGBrgb(172, 43, 152)
HSLhsl(309, 60%, 42%)
HSVhsv(309, 75%, 67%)
CMYKcmyk(0%, 75%, 11.6%, 32.5%)
CIE-LABlab(42.41, 62.25, -30.76)
CIE-LCHlch(42.41, 69.43, 333.71°)
OKLaboklab(53.01% 0.1818 -0.084)
OKLCHoklch(53.01% 0.2 335.2)
XYZxyz(23.5449, 12.7675, 30.9240)
Luminance0.1277 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2B98 #2BAC3F
analogous
#7F2BAC #AC2B98 #AC2B58
triadic
#AC2B98 #98AC2B #2B98AC
tetradic
#AC2B98 #AC7F2B #2BAC3F #2B58AC
square
#AC2B98 #AC7F2B #2BAC3F #2B58AC
split-complementary
#AC2B98 #58AC2B #2BAC7F
monochromatic
#4A1341 #7B1F6D #AC2B98 #D044BA #DC75CC

Accessibility & contrast

On white

5.91
#AC2B98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#AC2B98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2B98
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2B98#FFFFFF#000000##FFFFFF
##AC2B981.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B589B
Deuteranopia (green-blind)
#596B95
Tritanopia (blue-blind)
#B5365F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac2b98;
/* rgb */ color: rgb(172, 43, 152);
/* oklch */ color: oklch(53.0% 0.200 335.2);
Tailwind
colors: {
  custom: {
    50: '#c872b6',
    500: '#ac2b98',
    950: '#000000',
  },
}
SCSS
$custom: #ac2b98;
$custom-light: #c872b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2b98",
  "rgb": {
    "r": 172,
    "g": 43,
    "b": 152
  },
  "hsl": {
    "h": 309.302,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53007,
    "c": 0.20029,
    "h": 335.2
  },
  "luminance": 0.12765
}

Semantic roles & 50–950 ramp

primary
#AC2B98
secondary
#6FC47C
accent
#E35D45
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC2B98

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

Preview Lab → · Contrast checker → · Palette generator →

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