#AC2F5E#AC2F5E

#AC2F5E is a mid, vivid pink. Relative luminance 0.116; OKLCH L 50.9% C 0.165 H 2.3°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#AC2F5E
RGBrgb(172, 47, 94)
HSLhsl(337, 57%, 43%)
HSVhsv(337, 73%, 67%)
CMYKcmyk(0%, 72.7%, 45.3%, 32.5%)
CIE-LABlab(40.60, 53.70, 2.30)
CIE-LCHlch(40.60, 53.75, 2.45°)
OKLaboklab(50.94% 0.1645 0.0065)
OKLCHoklch(50.94% 0.165 2.3)
XYZxyz(20.0517, 11.6144, 11.7734)
Luminance0.1161 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2F5E #2FAC7D
analogous
#AC2F9C #AC2F5E #AC3E2F
triadic
#AC2F5E #5EAC2F #2F5EAC
tetradic
#AC2F5E #9CAC2F #2FAC7D #3E2FAC
square
#AC2F5E #9CAC2F #2FAC7D #3E2FAC
split-complementary
#AC2F5E #2FAC3E #2F9CAC
monochromatic
#4C1529 #7C2244 #AC2F5E #CE4B7C #DB7B9F

Accessibility & contrast

On white

6.32
#AC2F5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#AC2F5E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2F5E
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2F5E#FFFFFF#000000##FFFFFF
##AC2F5E1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B505F
Deuteranopia (green-blind)
#6C695B
Tritanopia (blue-blind)
#BB1A43
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ac2f5e;
/* rgb */ color: rgb(172, 47, 94);
/* oklch */ color: oklch(50.9% 0.165 2.3);
Tailwind
colors: {
  custom: {
    50: '#ca728b',
    500: '#ac2f5e',
    950: '#000000',
  },
}
SCSS
$custom: #ac2f5e;
$custom-light: #ca728b;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2f5e",
  "rgb": {
    "r": 172,
    "g": 47,
    "b": 94
  },
  "hsl": {
    "h": 337.44,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50936,
    "c": 0.16462,
    "h": 2.3
  },
  "luminance": 0.11612
}

Semantic roles & 50–950 ramp

primary
#AC2F5E
secondary
#74C3A5
accent
#E0A747
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AC2F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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