#AB285C#AB285C

#AB285C is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.1% C 0.171 H 1.9°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#AB285C
RGBrgb(171, 40, 92)
HSLhsl(336, 62%, 41%)
HSVhsv(336, 77%, 67%)
CMYKcmyk(0%, 76.6%, 46.2%, 32.9%)
CIE-LABlab(39.50, 55.62, 1.95)
CIE-LCHlch(39.50, 55.65, 2.00°)
OKLaboklab(50.07% 0.1706 0.0056)
OKLCHoklch(50.07% 0.171 1.9)
XYZxyz(19.4867, 10.9508, 11.2107)
Luminance0.1095 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB285C #28AB77
analogous
#AB289E #AB285C #AB3628
triadic
#AB285C #5CAB28 #285CAB
tetradic
#AB285C #9EAB28 #28AB77 #3628AB
square
#AB285C #9EAB28 #28AB77 #3628AB
split-complementary
#AB285C #28AB36 #289EAB
monochromatic
#481127 #791C41 #AB285C #D23E79 #DE709B

Accessibility & contrast

On white

6.58
#AB285C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#AB285C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB285C
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB285C#FFFFFF#000000##FFFFFF
##AB285C1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474D5D
Deuteranopia (green-blind)
#6A6659
Tritanopia (blue-blind)
#BA0C3F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab285c;
/* rgb */ color: rgb(171, 40, 92);
/* oklch */ color: oklch(50.1% 0.171 1.9);
Tailwind
colors: {
  custom: {
    50: '#ca6f8a',
    500: '#ab285c',
    950: '#000000',
  },
}
SCSS
$custom: #ab285c;
$custom-light: #ca6f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab285c",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 92
  },
  "hsl": {
    "h": 336.183,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50073,
    "c": 0.17068,
    "h": 1.9
  },
  "luminance": 0.10948
}

Semantic roles & 50–950 ramp

primary
#AB285C
secondary
#6AC4A1
accent
#E5A543
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AB285C

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

Preview Lab → · Contrast checker → · Palette generator →

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