#AC2F8F#AC2F8F

#AC2F8F is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.9% C 0.190 H 338.9°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#AC2F8F
RGBrgb(172, 47, 143)
HSLhsl(314, 57%, 43%)
HSVhsv(314, 73%, 67%)
CMYKcmyk(0%, 72.7%, 16.9%, 32.5%)
CIE-LABlab(42.44, 59.61, -25.26)
CIE-LCHlch(42.44, 64.74, 337.04°)
OKLaboklab(52.89% 0.1769 -0.0684)
OKLCHoklch(52.89% 0.19 338.9)
XYZxyz(22.9882, 12.7890, 27.2391)
Luminance0.1279 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2F8F #2FAC4C
analogous
#8A2FAC #AC2F8F #AC2F50
triadic
#AC2F8F #8FAC2F #2F8FAC
tetradic
#AC2F8F #AC8A2F #2FAC4C #2F50AC
square
#AC2F8F #AC8A2F #2FAC4C #2F50AC
split-complementary
#AC2F8F #50AC2F #2FAC8A
monochromatic
#4C153F #7C2267 #AC2F8F #CE4BAF #DB7BC4

Accessibility & contrast

On white

5.90
#AC2F8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#AC2F8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2F8F
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2F8F#FFFFFF#000000##FFFFFF
##AC2F8F1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365892
Deuteranopia (green-blind)
#5F6B8C
Tritanopia (blue-blind)
#B6345B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac2f8f;
/* rgb */ color: rgb(172, 47, 143);
/* oklch */ color: oklch(52.9% 0.190 338.9);
Tailwind
colors: {
  custom: {
    50: '#c873b0',
    500: '#ac2f8f',
    950: '#000000',
  },
}
SCSS
$custom: #ac2f8f;
$custom-light: #c873b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2f8f",
  "rgb": {
    "r": 172,
    "g": 47,
    "b": 143
  },
  "hsl": {
    "h": 313.92,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5289,
    "c": 0.18963,
    "h": 338.9
  },
  "luminance": 0.12787
}

Semantic roles & 50–950 ramp

primary
#AC2F8F
secondary
#74C386
accent
#E06B47
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AC2F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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