#AC298E#AC298E

#AC298E is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.3% C 0.196 H 339.1°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#AC298E
RGBrgb(172, 41, 142)
HSLhsl(314, 62%, 42%)
HSVhsv(314, 76%, 67%)
CMYKcmyk(0%, 76.2%, 17.4%, 32.5%)
CIE-LABlab(41.71, 61.43, -25.79)
CIE-LCHlch(41.71, 66.62, 337.22°)
OKLaboklab(52.34% 0.1827 -0.0698)
OKLCHoklch(52.34% 0.196 339.1)
XYZxyz(22.6893, 12.3118, 26.7674)
Luminance0.1231 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC298E #29AC47
analogous
#8829AC #AC298E #AC294D
triadic
#AC298E #8EAC29 #298EAC
tetradic
#AC298E #AC8829 #29AC47 #294DAC
square
#AC298E #AC8829 #29AC47 #294DAC
split-complementary
#AC298E #4DAC29 #29AC88
monochromatic
#49113C #7B1D65 #AC298E #D241B0 #DD72C5

Accessibility & contrast

On white

6.07
#AC298E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#AC298E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC298E
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC298E#FFFFFF#000000##FFFFFF
##AC298E1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315591
Deuteranopia (green-blind)
#5D6A8B
Tritanopia (blue-blind)
#B62F59
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac298e;
/* rgb */ color: rgb(172, 41, 142);
/* oklch */ color: oklch(52.3% 0.196 339.1);
Tailwind
colors: {
  custom: {
    50: '#c971af',
    500: '#ac298e',
    950: '#000000',
  },
}
SCSS
$custom: #ac298e;
$custom-light: #c971af;
$custom-dark: #000000;
JSON
{
  "hex": "#ac298e",
  "rgb": {
    "r": 172,
    "g": 41,
    "b": 142
  },
  "hsl": {
    "h": 313.74,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52342,
    "c": 0.19556,
    "h": 339.1
  },
  "luminance": 0.1231
}

Semantic roles & 50–950 ramp

primary
#AC298E
secondary
#6CC580
accent
#E56843
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AC298E

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

Preview Lab → · Contrast checker → · Palette generator →

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