#AB2B83#AB2B83

#AB2B83 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.8% C 0.186 H 343.5°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#AB2B83
RGBrgb(171, 43, 131)
HSLhsl(319, 60%, 42%)
HSVhsv(319, 75%, 67%)
CMYKcmyk(0%, 74.9%, 23.4%, 32.9%)
CIE-LABlab(41.26, 59.05, -19.77)
CIE-LCHlch(41.26, 62.27, 341.49°)
OKLaboklab(51.82% 0.1781 -0.0529)
OKLCHoklch(51.82% 0.186 343.5)
XYZxyz(21.7560, 12.0267, 22.6440)
Luminance0.1202 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2B83 #2BAB53
analogous
#932BAB #AB2B83 #AB2B43
triadic
#AB2B83 #83AB2B #2B83AB
tetradic
#AB2B83 #AB932B #2BAB53 #2B43AB
square
#AB2B83 #AB932B #2BAB53 #2B43AB
split-complementary
#AB2B83 #43AB2B #2BAB93
monochromatic
#491238 #7A1F5E #AB2B83 #D043A4 #DC74BC

Accessibility & contrast

On white

6.17
#AB2B83 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#AB2B83 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2B83
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2B83#FFFFFF#000000##FFFFFF
##AB2B831.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395485
Deuteranopia (green-blind)
#616980
Tritanopia (blue-blind)
#B62B54
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab2b83;
/* rgb */ color: rgb(171, 43, 131);
/* oklch */ color: oklch(51.8% 0.186 343.5);
Tailwind
colors: {
  custom: {
    50: '#c871a7',
    500: '#ab2b83',
    950: '#000000',
  },
}
SCSS
$custom: #ab2b83;
$custom-light: #c871a7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2b83",
  "rgb": {
    "r": 171,
    "g": 43,
    "b": 131
  },
  "hsl": {
    "h": 318.75,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51823,
    "c": 0.18578,
    "h": 343.5
  },
  "luminance": 0.12024
}

Semantic roles & 50–950 ramp

primary
#AB2B83
secondary
#6EC489
accent
#E37645
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AB2B83

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

Preview Lab → · Contrast checker → · Palette generator →

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