#AC2251#AC2251

#AC2251 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.5% C 0.174 H 6.7°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#AC2251
RGBrgb(172, 34, 81)
HSLhsl(340, 67%, 40%)
HSVhsv(340, 80%, 67%)
CMYKcmyk(0%, 80.2%, 52.9%, 32.5%)
CIE-LABlab(38.75, 56.75, 7.89)
CIE-LCHlch(38.75, 57.30, 7.92°)
OKLaboklab(49.46% 0.1732 0.0204)
OKLCHoklch(49.46% 0.174 6.7)
XYZxyz(19.0723, 10.5115, 8.8076)
Luminance0.1051 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2251 #22AC7D
analogous
#AC2296 #AC2251 #AC3822
triadic
#AC2251 #51AC22 #2251AC
tetradic
#AC2251 #96AC22 #22AC7D #3822AC
square
#AC2251 #96AC22 #22AC7D #3822AC
split-complementary
#AC2251 #22AC38 #2296AC
monochromatic
#460E21 #791839 #AC2251 #D7346C #E16791

Accessibility & contrast

On white

6.77
#AC2251 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#AC2251 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2251
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2251#FFFFFF#000000##FFFFFF
##AC22511.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474A52
Deuteranopia (green-blind)
#6B654E
Tritanopia (blue-blind)
#BC0037
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ac2251;
/* rgb */ color: rgb(172, 34, 81);
/* oklch */ color: oklch(49.5% 0.174 6.7);
Tailwind
colors: {
  custom: {
    50: '#cb6c81',
    500: '#ac2251',
    950: '#000000',
  },
}
SCSS
$custom: #ac2251;
$custom-light: #cb6c81;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2251",
  "rgb": {
    "r": 172,
    "g": 34,
    "b": 81
  },
  "hsl": {
    "h": 339.565,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49455,
    "c": 0.17442,
    "h": 6.7
  },
  "luminance": 0.10509
}

Semantic roles & 50–950 ramp

primary
#AC2251
secondary
#63C7A5
accent
#EAAF3E
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#14080A
muted
#837A7C

Preview Lab

Preview with #AC2251

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

Preview Lab → · Contrast checker → · Palette generator →

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