#AB2B85#AB2B85

#AB2B85 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.9% C 0.187 H 342.6°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#AB2B85
RGBrgb(171, 43, 133)
HSLhsl(318, 60%, 42%)
HSVhsv(318, 75%, 67%)
CMYKcmyk(0%, 74.9%, 22.2%, 32.9%)
CIE-LABlab(41.35, 59.32, -20.87)
CIE-LCHlch(41.35, 62.88, 340.62°)
OKLaboklab(51.91% 0.1785 -0.0559)
OKLCHoklch(51.91% 0.187 342.6)
XYZxyz(21.8929, 12.0814, 23.3647)
Luminance0.1208 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2B85 #2BAB51
analogous
#912BAB #AB2B85 #AB2B45
triadic
#AB2B85 #85AB2B #2B85AB
tetradic
#AB2B85 #AB912B #2BAB51 #2B45AB
square
#AB2B85 #AB912B #2BAB51 #2B45AB
split-complementary
#AB2B85 #45AB2B #2BAB91
monochromatic
#491239 #7A1F5F #AB2B85 #D043A6 #DC74BD

Accessibility & contrast

On white

6.15
#AB2B85 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#AB2B85 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2B85
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2B85#FFFFFF#000000##FFFFFF
##AB2B851.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385487
Deuteranopia (green-blind)
#606982
Tritanopia (blue-blind)
#B62C55
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab2b85;
/* rgb */ color: rgb(171, 43, 133);
/* oklch */ color: oklch(51.9% 0.187 342.6);
Tailwind
colors: {
  custom: {
    50: '#c871a8',
    500: '#ab2b85',
    950: '#000000',
  },
}
SCSS
$custom: #ab2b85;
$custom-light: #c871a8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2b85",
  "rgb": {
    "r": 171,
    "g": 43,
    "b": 133
  },
  "hsl": {
    "h": 317.813,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51914,
    "c": 0.18701,
    "h": 342.6
  },
  "luminance": 0.12079
}

Semantic roles & 50–950 ramp

primary
#AB2B85
secondary
#6EC488
accent
#E37445
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AB2B85

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

Preview Lab → · Contrast checker → · Palette generator →

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