#AC305E#AC305E

#AC305E is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.0% C 0.163 H 2.5°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#AC305E
RGBrgb(172, 48, 94)
HSLhsl(338, 56%, 43%)
HSVhsv(338, 72%, 67%)
CMYKcmyk(0%, 72.1%, 45.3%, 32.5%)
CIE-LABlab(40.73, 53.34, 2.49)
CIE-LCHlch(40.73, 53.39, 2.67°)
OKLaboklab(51.03% 0.1633 0.007)
OKLCHoklch(51.03% 0.163 2.5)
XYZxyz(20.0921, 11.6953, 11.7869)
Luminance0.1169 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC305E #30AC7E
analogous
#AC309C #AC305E #AC4030
triadic
#AC305E #5EAC30 #305EAC
tetradic
#AC305E #9CAC30 #30AC7E #4030AC
square
#AC305E #9CAC30 #30AC7E #4030AC
split-complementary
#AC305E #30AC40 #309CAC
monochromatic
#4C152A #7C2344 #AC305E #CD4C7C #DA7C9F

Accessibility & contrast

On white

6.29
#AC305E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#AC305E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC305E
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC305E#FFFFFF#000000##FFFFFF
##AC305E1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B515F
Deuteranopia (green-blind)
#6D695B
Tritanopia (blue-blind)
#BB1C43
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ac305e;
/* rgb */ color: rgb(172, 48, 94);
/* oklch */ color: oklch(51.0% 0.163 2.5);
Tailwind
colors: {
  custom: {
    50: '#ca728b',
    500: '#ac305e',
    950: '#000000',
  },
}
SCSS
$custom: #ac305e;
$custom-light: #ca728b;
$custom-dark: #000000;
JSON
{
  "hex": "#ac305e",
  "rgb": {
    "r": 172,
    "g": 48,
    "b": 94
  },
  "hsl": {
    "h": 337.742,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51033,
    "c": 0.16348,
    "h": 2.5
  },
  "luminance": 0.11693
}

Semantic roles & 50–950 ramp

primary
#AC305E
secondary
#75C3A6
accent
#E0A748
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090C
muted
#837B7D

Preview Lab

Preview with #AC305E

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

Preview Lab → · Contrast checker → · Palette generator →

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