#AC254F#AC254F

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

Color values

HEX#AC254F
RGBrgb(172, 37, 79)
HSLhsl(341, 65%, 41%)
HSVhsv(341, 78%, 67%)
CMYKcmyk(0%, 78.5%, 54.1%, 32.5%)
CIE-LABlab(39.00, 55.72, 9.53)
CIE-LCHlch(39.00, 56.53, 9.71°)
OKLaboklab(49.63% 0.1696 0.0244)
OKLCHoklch(49.63% 0.171 8.2)
XYZxyz(19.0879, 10.6610, 8.4483)
Luminance0.1066 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC254F #25AC82
analogous
#AC2592 #AC254F #AC3E25
triadic
#AC254F #4FAC25 #254FAC
tetradic
#AC254F #92AC25 #25AC82 #3E25AC
square
#AC254F #92AC25 #25AC82 #3E25AC
split-complementary
#AC254F #25AC3E #2592AC
monochromatic
#470F21 #7A1A38 #AC254F #D53A6A #DF6C90

Accessibility & contrast

On white

6.71
#AC254F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC254F
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC254F#FFFFFF#000000##FFFFFF
##AC254F1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494B50
Deuteranopia (green-blind)
#6C664C
Tritanopia (blue-blind)
#BC0037
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ac254f;
/* rgb */ color: rgb(172, 37, 79);
/* oklch */ color: oklch(49.6% 0.171 8.2);
Tailwind
colors: {
  custom: {
    50: '#cb6d80',
    500: '#ac254f',
    950: '#000000',
  },
}
SCSS
$custom: #ac254f;
$custom-light: #cb6d80;
$custom-dark: #000000;
JSON
{
  "hex": "#ac254f",
  "rgb": {
    "r": 172,
    "g": 37,
    "b": 79
  },
  "hsl": {
    "h": 341.333,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49628,
    "c": 0.17137,
    "h": 8.2
  },
  "luminance": 0.10658
}

Semantic roles & 50–950 ramp

primary
#AC254F
secondary
#67C6A8
accent
#E8B440
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #AC254F

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

Preview Lab → · Contrast checker → · Palette generator →

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