#AB285A#AB285A

#AB285A is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.0% C 0.170 H 2.9°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#AB285A
RGBrgb(171, 40, 90)
HSLhsl(337, 62%, 41%)
HSVhsv(337, 77%, 67%)
CMYKcmyk(0%, 76.6%, 47.4%, 32.9%)
CIE-LABlab(39.44, 55.43, 3.13)
CIE-LCHlch(39.44, 55.52, 3.23°)
OKLaboklab(50.01% 0.1699 0.0086)
OKLCHoklch(50.01% 0.17 2.9)
XYZxyz(19.4004, 10.9163, 10.7563)
Luminance0.1091 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB285A #28AB79
analogous
#AB289C #AB285A #AB3828
triadic
#AB285A #5AAB28 #285AAB
tetradic
#AB285A #9CAB28 #28AB79 #3828AB
square
#AB285A #9CAB28 #28AB79 #3828AB
split-complementary
#AB285A #28AB38 #289CAB
monochromatic
#481126 #791C40 #AB285A #D23E77 #DE709A

Accessibility & contrast

On white

6.60
#AB285A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#AB285A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB285A
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB285A#FFFFFF#000000##FFFFFF
##AB285A1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474D5B
Deuteranopia (green-blind)
#6A6657
Tritanopia (blue-blind)
#BA0A3E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab285a;
/* rgb */ color: rgb(171, 40, 90);
/* oklch */ color: oklch(50.0% 0.170 2.9);
Tailwind
colors: {
  custom: {
    50: '#ca6f88',
    500: '#ab285a',
    950: '#000000',
  },
}
SCSS
$custom: #ab285a;
$custom-light: #ca6f88;
$custom-dark: #000000;
JSON
{
  "hex": "#ab285a",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 90
  },
  "hsl": {
    "h": 337.099,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50011,
    "c": 0.17011,
    "h": 2.9
  },
  "luminance": 0.10914
}

Semantic roles & 50–950 ramp

primary
#AB285A
secondary
#6AC4A2
accent
#E5A743
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AB285A

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

Preview Lab → · Contrast checker → · Palette generator →

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