#AB285D#AB285D

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

Color values

HEX#AB285D
RGBrgb(171, 40, 93)
HSLhsl(336, 62%, 41%)
HSVhsv(336, 77%, 67%)
CMYKcmyk(0%, 76.6%, 45.6%, 32.9%)
CIE-LABlab(39.53, 55.71, 1.36)
CIE-LCHlch(39.53, 55.73, 1.39°)
OKLaboklab(50.11% 0.1709 0.0041)
OKLCHoklch(50.11% 0.171 1.4)
XYZxyz(19.5307, 10.9684, 11.4425)
Luminance0.1097 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB285D #28AB76
analogous
#AB289F #AB285D #AB3528
triadic
#AB285D #5DAB28 #285DAB
tetradic
#AB285D #9FAB28 #28AB76 #3528AB
square
#AB285D #9FAB28 #28AB76 #3528AB
split-complementary
#AB285D #28AB35 #289FAB
monochromatic
#481127 #791C42 #AB285D #D23E7A #DE709C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB285D#FFFFFF#000000##FFFFFF
##AB285D1.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)
#464D5E
Deuteranopia (green-blind)
#6A665A
Tritanopia (blue-blind)
#BA0D3F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab285d;
/* rgb */ color: rgb(171, 40, 93);
/* oklch */ color: oklch(50.1% 0.171 1.4);
Tailwind
colors: {
  custom: {
    50: '#c96f8a',
    500: '#ab285d',
    950: '#000000',
  },
}
SCSS
$custom: #ab285d;
$custom-light: #c96f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab285d",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 93
  },
  "hsl": {
    "h": 335.725,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50105,
    "c": 0.17099,
    "h": 1.4
  },
  "luminance": 0.10966
}

Semantic roles & 50–950 ramp

primary
#AB285D
secondary
#6AC4A0
accent
#E5A343
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AB285D

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

Preview Lab → · Contrast checker → · Palette generator →

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