#AC285E#AC285E

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

Color values

HEX#AC285E
RGBrgb(172, 40, 94)
HSLhsl(335, 62%, 42%)
HSVhsv(335, 77%, 67%)
CMYKcmyk(0%, 76.7%, 45.3%, 32.5%)
CIE-LABlab(39.75, 56.08, 1.07)
CIE-LCHlch(39.75, 56.09, 1.09°)
OKLaboklab(50.31% 0.1721 0.0034)
OKLCHoklch(50.31% 0.172 1.1)
XYZxyz(19.7940, 11.0990, 11.6875)
Luminance0.1110 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC285E #28AC76
analogous
#AC28A0 #AC285E #AC3428
triadic
#AC285E #5EAC28 #285EAC
tetradic
#AC285E #A0AC28 #28AC76 #3428AC
square
#AC285E #A0AC28 #28AC76 #3428AC
split-complementary
#AC285E #28AC34 #28A0AC
monochromatic
#491128 #7A1C43 #AC285E #D23F7B #DE719D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC285E#FFFFFF#000000##FFFFFF
##AC285E1.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)
#474D5F
Deuteranopia (green-blind)
#6A675B
Tritanopia (blue-blind)
#BB0D40
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ac285e;
/* rgb */ color: rgb(172, 40, 94);
/* oklch */ color: oklch(50.3% 0.172 1.1);
Tailwind
colors: {
  custom: {
    50: '#ca6f8b',
    500: '#ac285e',
    950: '#000000',
  },
}
SCSS
$custom: #ac285e;
$custom-light: #ca6f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#ac285e",
  "rgb": {
    "r": 172,
    "g": 40,
    "b": 94
  },
  "hsl": {
    "h": 335.455,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.5031,
    "c": 0.17216,
    "h": 1.1
  },
  "luminance": 0.11096
}

Semantic roles & 50–950 ramp

primary
#AC285E
secondary
#6BC5A0
accent
#E5A342
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AC285E

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

Preview Lab → · Contrast checker → · Palette generator →

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