#AC254D#AC254D

#AC254D is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.6% C 0.171 H 9.2°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#AC254D
RGBrgb(172, 37, 77)
HSLhsl(342, 65%, 41%)
HSVhsv(342, 78%, 67%)
CMYKcmyk(0%, 78.5%, 55.2%, 32.5%)
CIE-LABlab(38.95, 55.57, 10.74)
CIE-LCHlch(38.95, 56.59, 10.94°)
OKLaboklab(49.58% 0.1689 0.0273)
OKLCHoklch(49.58% 0.171 9.2)
XYZxyz(19.0162, 10.6323, 8.0707)
Luminance0.1063 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC254D #25AC84
analogous
#AC2590 #AC254D #AC4025
triadic
#AC254D #4DAC25 #254DAC
tetradic
#AC254D #90AC25 #25AC84 #4025AC
square
#AC254D #90AC25 #25AC84 #4025AC
split-complementary
#AC254D #25AC40 #2590AC
monochromatic
#470F20 #7A1A36 #AC254D #D53A68 #DF6C8E

Accessibility & contrast

On white

6.72
#AC254D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#AC254D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC254D
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC254D#FFFFFF#000000##FFFFFF
##AC254D1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494A4E
Deuteranopia (green-blind)
#6C664A
Tritanopia (blue-blind)
#BC0036
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ac254d;
/* rgb */ color: rgb(172, 37, 77);
/* oklch */ color: oklch(49.6% 0.171 9.2);
Tailwind
colors: {
  custom: {
    50: '#cb6d7e',
    500: '#ac254d',
    950: '#000000',
  },
}
SCSS
$custom: #ac254d;
$custom-light: #cb6d7e;
$custom-dark: #000000;
JSON
{
  "hex": "#ac254d",
  "rgb": {
    "r": 172,
    "g": 37,
    "b": 77
  },
  "hsl": {
    "h": 342.222,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49576,
    "c": 0.17104,
    "h": 9.2
  },
  "luminance": 0.1063
}

Semantic roles & 50–950 ramp

primary
#AC254D
secondary
#67C6AA
accent
#E8B640
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#150809
muted
#837B7B

Preview Lab

Preview with #AC254D

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

Preview Lab → · Contrast checker → · Palette generator →

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