#AB285E#AB285E

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

Color values

HEX#AB285E
RGBrgb(171, 40, 94)
HSLhsl(335, 62%, 41%)
HSVhsv(335, 77%, 67%)
CMYKcmyk(0%, 76.6%, 45%, 32.9%)
CIE-LABlab(39.56, 55.80, 0.77)
CIE-LCHlch(39.56, 55.81, 0.79°)
OKLaboklab(50.14% 0.1713 0.0026)
OKLCHoklch(50.14% 0.171 0.9)
XYZxyz(19.5753, 10.9863, 11.6773)
Luminance0.1098 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB285E #28AB75
analogous
#AB28A0 #AB285E #AB3428
triadic
#AB285E #5EAB28 #285EAB
tetradic
#AB285E #A0AB28 #28AB75 #3428AB
square
#AB285E #A0AB28 #28AB75 #3428AB
split-complementary
#AB285E #28AB34 #28A0AB
monochromatic
#481127 #791C43 #AB285E #D23E7B #DE709D

Accessibility & contrast

On white

6.57
#AB285E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#AB285E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB285E
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB285E#FFFFFF#000000##FFFFFF
##AB285E1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464D5F
Deuteranopia (green-blind)
#69665B
Tritanopia (blue-blind)
#BA0E40
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab285e;
/* rgb */ color: rgb(171, 40, 94);
/* oklch */ color: oklch(50.1% 0.171 0.9);
Tailwind
colors: {
  custom: {
    50: '#c96f8b',
    500: '#ab285e',
    950: '#000000',
  },
}
SCSS
$custom: #ab285e;
$custom-light: #c96f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#ab285e",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 94
  },
  "hsl": {
    "h": 335.267,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50136,
    "c": 0.17131,
    "h": 0.9
  },
  "luminance": 0.10984
}

Semantic roles & 50–950 ramp

primary
#AB285E
secondary
#6AC49F
accent
#E5A243
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AB285E

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

Preview Lab → · Contrast checker → · Palette generator →

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