#AC285F#AC285F

#AC285F is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.3% C 0.172 H 0.6°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#AC285F
RGBrgb(172, 40, 95)
HSLhsl(335, 62%, 42%)
HSVhsv(335, 77%, 67%)
CMYKcmyk(0%, 76.7%, 44.8%, 32.5%)
CIE-LABlab(39.78, 56.18, 0.48)
CIE-LCHlch(39.78, 56.18, 0.49°)
OKLaboklab(50.34% 0.1725 0.0019)
OKLCHoklch(50.34% 0.172 0.6)
XYZxyz(19.8392, 11.1171, 11.9254)
Luminance0.1111 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC285F #28AC75
analogous
#AC28A1 #AC285F #AC3328
triadic
#AC285F #5FAC28 #285FAC
tetradic
#AC285F #A1AC28 #28AC75 #3328AC
square
#AC285F #A1AC28 #28AC75 #3328AC
split-complementary
#AC285F #28AC33 #28A1AC
monochromatic
#491128 #7A1C44 #AC285F #D23F7C #DE719E

Accessibility & contrast

On white

6.52
#AC285F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#AC285F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC285F
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC285F#FFFFFF#000000##FFFFFF
##AC285F1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464E60
Deuteranopia (green-blind)
#6A675C
Tritanopia (blue-blind)
#BB0E40
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ac285f;
/* rgb */ color: rgb(172, 40, 95);
/* oklch */ color: oklch(50.3% 0.172 0.6);
Tailwind
colors: {
  custom: {
    50: '#ca6f8c',
    500: '#ac285f',
    950: '#000000',
  },
}
SCSS
$custom: #ac285f;
$custom-light: #ca6f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#ac285f",
  "rgb": {
    "r": 172,
    "g": 40,
    "b": 95
  },
  "hsl": {
    "h": 335,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50342,
    "c": 0.17248,
    "h": 0.6
  },
  "luminance": 0.11114
}

Semantic roles & 50–950 ramp

primary
#AC285F
secondary
#6BC59F
accent
#E5A142
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AC285F

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

Preview Lab → · Contrast checker → · Palette generator →

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