#AC2F90#AC2F90

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

Color values

HEX#AC2F90
RGBrgb(172, 47, 144)
HSLhsl(313, 57%, 43%)
HSVhsv(313, 73%, 67%)
CMYKcmyk(0%, 72.7%, 16.3%, 32.5%)
CIE-LABlab(42.49, 59.76, -25.79)
CIE-LCHlch(42.49, 65.08, 336.65°)
OKLaboklab(52.94% 0.177 -0.0699)
OKLCHoklch(52.94% 0.19 338.5)
XYZxyz(23.0643, 12.8195, 27.6399)
Luminance0.1282 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2F90 #2FAC4B
analogous
#892FAC #AC2F90 #AC2F51
triadic
#AC2F90 #90AC2F #2F90AC
tetradic
#AC2F90 #AC892F #2FAC4B #2F51AC
square
#AC2F90 #AC892F #2FAC4B #2F51AC
split-complementary
#AC2F90 #51AC2F #2FAC89
monochromatic
#4C1540 #7C2268 #AC2F90 #CE4BB0 #DB7BC5

Accessibility & contrast

On white

5.89
#AC2F90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC2F90
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2F90#FFFFFF#000000##FFFFFF
##AC2F901.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355893
Deuteranopia (green-blind)
#5E6B8D
Tritanopia (blue-blind)
#B6355C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac2f90;
/* rgb */ color: rgb(172, 47, 144);
/* oklch */ color: oklch(52.9% 0.190 338.5);
Tailwind
colors: {
  custom: {
    50: '#c873b1',
    500: '#ac2f90',
    950: '#000000',
  },
}
SCSS
$custom: #ac2f90;
$custom-light: #c873b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2f90",
  "rgb": {
    "r": 172,
    "g": 47,
    "b": 144
  },
  "hsl": {
    "h": 313.44,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52939,
    "c": 0.19032,
    "h": 338.5
  },
  "luminance": 0.12817
}

Semantic roles & 50–950 ramp

primary
#AC2F90
secondary
#74C385
accent
#E06A47
background
#FCF7FA
surface
#F9EDF5
border
#D2C8CF
text
#140910
muted
#827B7F

Preview Lab

Preview with #AC2F90

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

Preview Lab → · Contrast checker → · Palette generator →

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