#AC254E#AC254E

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

Color values

HEX#AC254E
RGBrgb(172, 37, 78)
HSLhsl(342, 65%, 41%)
HSVhsv(342, 78%, 67%)
CMYKcmyk(0%, 78.5%, 54.7%, 32.5%)
CIE-LABlab(38.98, 55.64, 10.13)
CIE-LCHlch(38.98, 56.56, 10.32°)
OKLaboklab(49.6% 0.1693 0.0258)
OKLCHoklch(49.6% 0.171 8.7)
XYZxyz(19.0518, 10.6466, 8.2580)
Luminance0.1064 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC254E #25AC83
analogous
#AC2591 #AC254E #AC4025
triadic
#AC254E #4EAC25 #254EAC
tetradic
#AC254E #91AC25 #25AC83 #4025AC
square
#AC254E #91AC25 #25AC83 #4025AC
split-complementary
#AC254E #25AC40 #2591AC
monochromatic
#470F20 #7A1A37 #AC254E #D53A69 #DF6C8F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC254E#FFFFFF#000000##FFFFFF
##AC254E1.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)
#494A4F
Deuteranopia (green-blind)
#6C664B
Tritanopia (blue-blind)
#BC0037
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ac254e;
/* rgb */ color: rgb(172, 37, 78);
/* oklch */ color: oklch(49.6% 0.171 8.7);
Tailwind
colors: {
  custom: {
    50: '#cb6d7f',
    500: '#ac254e',
    950: '#000000',
  },
}
SCSS
$custom: #ac254e;
$custom-light: #cb6d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#ac254e",
  "rgb": {
    "r": 172,
    "g": 37,
    "b": 78
  },
  "hsl": {
    "h": 341.778,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49602,
    "c": 0.17121,
    "h": 8.7
  },
  "luminance": 0.10644
}

Semantic roles & 50–950 ramp

primary
#AC254E
secondary
#67C6A9
accent
#E8B540
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #AC254E

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

Preview Lab → · Contrast checker → · Palette generator →

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