#AB2F82#AB2F82

#AB2F82 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.1% C 0.181 H 344.2°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#AB2F82
RGBrgb(171, 47, 130)
HSLhsl(320, 57%, 43%)
HSVhsv(320, 73%, 67%)
CMYKcmyk(0%, 72.5%, 24%, 32.9%)
CIE-LABlab(41.70, 57.56, -18.48)
CIE-LCHlch(41.70, 60.46, 342.20°)
OKLaboklab(52.13% 0.1737 -0.0493)
OKLCHoklch(52.13% 0.181 344.2)
XYZxyz(21.8412, 12.3049, 22.3396)
Luminance0.1230 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2F82 #2FAB58
analogous
#962FAB #AB2F82 #AB2F44
triadic
#AB2F82 #82AB2F #2F82AB
tetradic
#AB2F82 #AB962F #2FAB58 #2F44AB
square
#AB2F82 #AB962F #2FAB58 #2F44AB
split-complementary
#AB2F82 #44AB2F #2FAB96
monochromatic
#4B1539 #7B225E #AB2F82 #CD4AA2 #DA7ABB

Accessibility & contrast

On white

6.07
#AB2F82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#AB2F82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2F82
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2F82#FFFFFF#000000##FFFFFF
##AB2F821.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5584
Deuteranopia (green-blind)
#626A7F
Tritanopia (blue-blind)
#B62E54
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ab2f82;
/* rgb */ color: rgb(171, 47, 130);
/* oklch */ color: oklch(52.1% 0.181 344.2);
Tailwind
colors: {
  custom: {
    50: '#c873a6',
    500: '#ab2f82',
    950: '#000000',
  },
}
SCSS
$custom: #ab2f82;
$custom-light: #c873a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2f82",
  "rgb": {
    "r": 171,
    "g": 47,
    "b": 130
  },
  "hsl": {
    "h": 319.839,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52128,
    "c": 0.18059,
    "h": 344.2
  },
  "luminance": 0.12303
}

Semantic roles & 50–950 ramp

primary
#AB2F82
secondary
#73C38D
accent
#E07A48
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AB2F82

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

Preview Lab → · Contrast checker → · Palette generator →

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