#AC298B#AC298B

#AC298B is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.2% C 0.194 H 340.3°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#AC298B
RGBrgb(172, 41, 139)
HSLhsl(315, 62%, 42%)
HSVhsv(315, 76%, 67%)
CMYKcmyk(0%, 76.2%, 19.2%, 32.5%)
CIE-LABlab(41.57, 61.01, -24.18)
CIE-LCHlch(41.57, 65.63, 338.38°)
OKLaboklab(52.2% 0.1823 -0.0653)
OKLCHoklch(52.2% 0.194 340.3)
XYZxyz(22.4671, 12.2229, 25.5971)
Luminance0.1222 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC298B #29AC4A
analogous
#8C29AC #AC298B #AC2949
triadic
#AC298B #8BAC29 #298BAC
tetradic
#AC298B #AC8C29 #29AC4A #2949AC
square
#AC298B #AC8C29 #29AC4A #2949AC
split-complementary
#AC298B #49AC29 #29AC8C
monochromatic
#49113B #7B1D63 #AC298B #D241AD #DD72C2

Accessibility & contrast

On white

6.10
#AC298B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#AC298B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC298B
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC298B#FFFFFF#000000##FFFFFF
##AC298B1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33558E
Deuteranopia (green-blind)
#5E6A88
Tritanopia (blue-blind)
#B62D57
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac298b;
/* rgb */ color: rgb(172, 41, 139);
/* oklch */ color: oklch(52.2% 0.194 340.3);
Tailwind
colors: {
  custom: {
    50: '#c971ad',
    500: '#ac298b',
    950: '#000000',
  },
}
SCSS
$custom: #ac298b;
$custom-light: #c971ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ac298b",
  "rgb": {
    "r": 172,
    "g": 41,
    "b": 139
  },
  "hsl": {
    "h": 315.115,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52197,
    "c": 0.1936,
    "h": 340.3
  },
  "luminance": 0.12221
}

Semantic roles & 50–950 ramp

primary
#AC298B
secondary
#6CC582
accent
#E56C43
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AC298B

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

Preview Lab → · Contrast checker → · Palette generator →

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