#AC245F#AC245F

#AC245F is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.0% C 0.176 H 0.1°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#AC245F
RGBrgb(172, 36, 95)
HSLhsl(334, 65%, 41%)
HSVhsv(334, 79%, 67%)
CMYKcmyk(0%, 79.1%, 44.8%, 32.5%)
CIE-LABlab(39.35, 57.40, -0.15)
CIE-LCHlch(39.35, 57.40, 359.85°)
OKLaboklab(50.03% 0.1764 0.0003)
OKLCHoklch(50.03% 0.176 0.1)
XYZxyz(19.7113, 10.8613, 11.8827)
Luminance0.1086 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC245F #24AC71
analogous
#AC24A3 #AC245F #AC2D24
triadic
#AC245F #5FAC24 #245FAC
tetradic
#AC245F #A3AC24 #24AC71 #2D24AC
square
#AC245F #A3AC24 #24AC71 #2D24AC
split-complementary
#AC245F #24AC2D #24A3AC
monochromatic
#470F27 #791943 #AC245F #D5387C #E06A9D

Accessibility & contrast

On white

6.62
#AC245F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#AC245F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC245F
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC245F#FFFFFF#000000##FFFFFF
##AC245F1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444C60
Deuteranopia (green-blind)
#69665C
Tritanopia (blue-blind)
#BB033E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ac245f;
/* rgb */ color: rgb(172, 36, 95);
/* oklch */ color: oklch(50.0% 0.176 0.1);
Tailwind
colors: {
  custom: {
    50: '#ca6d8c',
    500: '#ac245f',
    950: '#000000',
  },
}
SCSS
$custom: #ac245f;
$custom-light: #ca6d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#ac245f",
  "rgb": {
    "r": 172,
    "g": 36,
    "b": 95
  },
  "hsl": {
    "h": 333.971,
    "s": 65.385,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50026,
    "c": 0.17639,
    "h": 0.1
  },
  "luminance": 0.10859
}

Semantic roles & 50–950 ramp

primary
#AC245F
secondary
#66C69C
accent
#E89F3F
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AC245F

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

Preview Lab → · Contrast checker → · Palette generator →

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