#AC2998#AC2998

#AC2998 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.9% C 0.202 H 335.2°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#AC2998
RGBrgb(172, 41, 152)
HSLhsl(309, 62%, 42%)
HSVhsv(309, 76%, 67%)
CMYKcmyk(0%, 76.2%, 11.6%, 32.5%)
CIE-LABlab(42.19, 62.87, -31.10)
CIE-LCHlch(42.19, 70.14, 333.68°)
OKLaboklab(52.85% 0.1837 -0.085)
OKLCHoklch(52.85% 0.202 335.2)
XYZxyz(23.4740, 12.6256, 30.9004)
Luminance0.1262 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2998 #29AC3D
analogous
#7F29AC #AC2998 #AC2957
triadic
#AC2998 #98AC29 #2998AC
tetradic
#AC2998 #AC7F29 #29AC3D #2957AC
square
#AC2998 #AC7F29 #29AC3D #2957AC
split-complementary
#AC2998 #57AC29 #29AC7F
monochromatic
#491141 #7B1D6C #AC2998 #D241BB #DD72CD

Accessibility & contrast

On white

5.96
#AC2998 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#AC2998 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2998
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2998#FFFFFF#000000##FFFFFF
##AC29981.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29579B
Deuteranopia (green-blind)
#596A95
Tritanopia (blue-blind)
#B5345E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac2998;
/* rgb */ color: rgb(172, 41, 152);
/* oklch */ color: oklch(52.9% 0.202 335.2);
Tailwind
colors: {
  custom: {
    50: '#c971b6',
    500: '#ac2998',
    950: '#000000',
  },
}
SCSS
$custom: #ac2998;
$custom-light: #c971b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2998",
  "rgb": {
    "r": 172,
    "g": 41,
    "b": 152
  },
  "hsl": {
    "h": 309.16,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52851,
    "c": 0.20237,
    "h": 335.2
  },
  "luminance": 0.12624
}

Semantic roles & 50–950 ramp

primary
#AC2998
secondary
#6CC57A
accent
#E55C43
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC2998

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

Preview Lab → · Contrast checker → · Palette generator →

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