#AC2B5B#AC2B5B

#AC2B5B is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.5% C 0.168 H 3.1°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#AC2B5B
RGBrgb(172, 43, 91)
HSLhsl(338, 60%, 42%)
HSVhsv(338, 75%, 67%)
CMYKcmyk(0%, 75%, 47.1%, 32.5%)
CIE-LABlab(40.01, 54.82, 3.34)
CIE-LCHlch(40.01, 54.92, 3.49°)
OKLaboklab(50.47% 0.1679 0.0092)
OKLCHoklch(50.47% 0.168 3.1)
XYZxyz(19.7671, 11.2564, 11.0273)
Luminance0.1125 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2B5B #2BAC7C
analogous
#AC2B9C #AC2B5B #AC3B2B
triadic
#AC2B5B #5BAC2B #2B5BAC
tetradic
#AC2B5B #9CAC2B #2BAC7C #3B2BAC
square
#AC2B5B #9CAC2B #2BAC7C #3B2BAC
split-complementary
#AC2B5B #2BAC3B #2B9CAC
monochromatic
#4A1327 #7B1F41 #AC2B5B #D04478 #DC759B

Accessibility & contrast

On white

6.46
#AC2B5B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#AC2B5B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2B5B
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2B5B#FFFFFF#000000##FFFFFF
##AC2B5B1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494E5C
Deuteranopia (green-blind)
#6B6758
Tritanopia (blue-blind)
#BB113F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ac2b5b;
/* rgb */ color: rgb(172, 43, 91);
/* oklch */ color: oklch(50.5% 0.168 3.1);
Tailwind
colors: {
  custom: {
    50: '#ca7089',
    500: '#ac2b5b',
    950: '#000000',
  },
}
SCSS
$custom: #ac2b5b;
$custom-light: #ca7089;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2b5b",
  "rgb": {
    "r": 172,
    "g": 43,
    "b": 91
  },
  "hsl": {
    "h": 337.674,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50474,
    "c": 0.16816,
    "h": 3.1
  },
  "luminance": 0.11254
}

Semantic roles & 50–950 ramp

primary
#AC2B5B
secondary
#6FC4A4
accent
#E3A845
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AC2B5B

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

Preview Lab → · Contrast checker → · Palette generator →

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