#AC2F5F#AC2F5F

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

Color values

HEX#AC2F5F
RGBrgb(172, 47, 95)
HSLhsl(337, 57%, 43%)
HSVhsv(337, 73%, 67%)
CMYKcmyk(0%, 72.7%, 44.8%, 32.5%)
CIE-LABlab(40.63, 53.80, 1.71)
CIE-LCHlch(40.63, 53.82, 1.82°)
OKLaboklab(50.97% 0.1649 0.005)
OKLCHoklch(50.97% 0.165 1.7)
XYZxyz(20.0969, 11.6325, 12.0113)
Luminance0.1163 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2F5F #2FAC7C
analogous
#AC2F9D #AC2F5F #AC3D2F
triadic
#AC2F5F #5FAC2F #2F5FAC
tetradic
#AC2F5F #9DAC2F #2FAC7C #3D2FAC
square
#AC2F5F #9DAC2F #2FAC7C #3D2FAC
split-complementary
#AC2F5F #2FAC3D #2F9DAC
monochromatic
#4C152A #7C2244 #AC2F5F #CE4B7D #DB7BA0

Accessibility & contrast

On white

6.31
#AC2F5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#AC2F5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2F5F
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2F5F#FFFFFF#000000##FFFFFF
##AC2F5F1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5060
Deuteranopia (green-blind)
#6C695C
Tritanopia (blue-blind)
#BB1B43
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ac2f5f;
/* rgb */ color: rgb(172, 47, 95);
/* oklch */ color: oklch(51.0% 0.165 1.7);
Tailwind
colors: {
  custom: {
    50: '#ca728c',
    500: '#ac2f5f',
    950: '#000000',
  },
}
SCSS
$custom: #ac2f5f;
$custom-light: #ca728c;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2f5f",
  "rgb": {
    "r": 172,
    "g": 47,
    "b": 95
  },
  "hsl": {
    "h": 336.96,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50967,
    "c": 0.16493,
    "h": 1.7
  },
  "luminance": 0.1163
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC2F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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