#AC2F58#AC2F58

#AC2F58 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.8% C 0.163 H 5.4°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#AC2F58
RGBrgb(172, 47, 88)
HSLhsl(340, 57%, 43%)
HSVhsv(340, 73%, 67%)
CMYKcmyk(0%, 72.7%, 48.8%, 32.5%)
CIE-LABlab(40.43, 53.14, 5.84)
CIE-LCHlch(40.43, 53.46, 6.27°)
OKLaboklab(50.76% 0.1623 0.0154)
OKLCHoklch(50.76% 0.163 5.4)
XYZxyz(19.7929, 11.5109, 10.4102)
Luminance0.1151 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2F58 #2FAC83
analogous
#AC2F96 #AC2F58 #AC442F
triadic
#AC2F58 #58AC2F #2F58AC
tetradic
#AC2F58 #96AC2F #2FAC83 #442FAC
square
#AC2F58 #96AC2F #2FAC83 #442FAC
split-complementary
#AC2F58 #2FAC44 #2F96AC
monochromatic
#4C1527 #7C223F #AC2F58 #CE4B76 #DB7B9A

Accessibility & contrast

On white

6.36
#AC2F58 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#AC2F58 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2F58
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2F58#FFFFFF#000000##FFFFFF
##AC2F581.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5059
Deuteranopia (green-blind)
#6D6855
Tritanopia (blue-blind)
#BB1740
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ac2f58;
/* rgb */ color: rgb(172, 47, 88);
/* oklch */ color: oklch(50.8% 0.163 5.4);
Tailwind
colors: {
  custom: {
    50: '#ca7286',
    500: '#ac2f58',
    950: '#000000',
  },
}
SCSS
$custom: #ac2f58;
$custom-light: #ca7286;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2f58",
  "rgb": {
    "r": 172,
    "g": 47,
    "b": 88
  },
  "hsl": {
    "h": 340.32,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50756,
    "c": 0.16304,
    "h": 5.4
  },
  "luminance": 0.11508
}

Semantic roles & 50–950 ramp

primary
#AC2F58
secondary
#74C3A9
accent
#E0AE47
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AC2F58

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

Preview Lab → · Contrast checker → · Palette generator →

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