#AB285B#AB285B

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

Color values

HEX#AB285B
RGBrgb(171, 40, 91)
HSLhsl(337, 62%, 41%)
HSVhsv(337, 77%, 67%)
CMYKcmyk(0%, 76.6%, 46.8%, 32.9%)
CIE-LABlab(39.47, 55.52, 2.54)
CIE-LCHlch(39.47, 55.58, 2.62°)
OKLaboklab(50.04% 0.1702 0.0071)
OKLCHoklch(50.04% 0.17 2.4)
XYZxyz(19.4433, 10.9334, 10.9820)
Luminance0.1093 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB285B #28AB78
analogous
#AB289D #AB285B #AB3728
triadic
#AB285B #5BAB28 #285BAB
tetradic
#AB285B #9DAB28 #28AB78 #3728AB
square
#AB285B #9DAB28 #28AB78 #3728AB
split-complementary
#AB285B #28AB37 #289DAB
monochromatic
#481126 #791C41 #AB285B #D23E78 #DE709B

Accessibility & contrast

On white

6.59
#AB285B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB285B
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB285B#FFFFFF#000000##FFFFFF
##AB285B1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474D5C
Deuteranopia (green-blind)
#6A6658
Tritanopia (blue-blind)
#BA0B3E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab285b;
/* rgb */ color: rgb(171, 40, 91);
/* oklch */ color: oklch(50.0% 0.170 2.4);
Tailwind
colors: {
  custom: {
    50: '#ca6f89',
    500: '#ab285b',
    950: '#000000',
  },
}
SCSS
$custom: #ab285b;
$custom-light: #ca6f89;
$custom-dark: #000000;
JSON
{
  "hex": "#ab285b",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 91
  },
  "hsl": {
    "h": 336.641,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50042,
    "c": 0.17039,
    "h": 2.4
  },
  "luminance": 0.10931
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB285B

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

Preview Lab → · Contrast checker → · Palette generator →

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