#AC2997#AC2997

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

Color values

HEX#AC2997
RGBrgb(172, 41, 151)
HSLhsl(310, 62%, 42%)
HSVhsv(310, 76%, 67%)
CMYKcmyk(0%, 76.2%, 12.2%, 32.5%)
CIE-LABlab(42.14, 62.72, -30.57)
CIE-LCHlch(42.14, 69.78, 334.01°)
OKLaboklab(52.8% 0.1836 -0.0835)
OKLCHoklch(52.8% 0.202 335.5)
XYZxyz(23.3924, 12.5930, 30.4709)
Luminance0.1259 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2997 #29AC3E
analogous
#8029AC #AC2997 #AC2956
triadic
#AC2997 #97AC29 #2997AC
tetradic
#AC2997 #AC8029 #29AC3E #2956AC
square
#AC2997 #AC8029 #29AC3E #2956AC
split-complementary
#AC2997 #56AC29 #29AC80
monochromatic
#491140 #7B1D6C #AC2997 #D241BA #DD72CC

Accessibility & contrast

On white

5.97
#AC2997 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC2997
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2997#FFFFFF#000000##FFFFFF
##AC29971.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A579A
Deuteranopia (green-blind)
#596A94
Tritanopia (blue-blind)
#B5345E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ac2997;
/* rgb */ color: rgb(172, 41, 151);
/* oklch */ color: oklch(52.8% 0.202 335.5);
Tailwind
colors: {
  custom: {
    50: '#c971b6',
    500: '#ac2997',
    950: '#000000',
  },
}
SCSS
$custom: #ac2997;
$custom-light: #c971b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2997",
  "rgb": {
    "r": 172,
    "g": 41,
    "b": 151
  },
  "hsl": {
    "h": 309.618,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52799,
    "c": 0.20167,
    "h": 335.5
  },
  "luminance": 0.12591
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC2997

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

Preview Lab → · Contrast checker → · Palette generator →

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