#AB2B92#AB2B92

#AB2B92 is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.5% C 0.196 H 337.2°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#AB2B92
RGBrgb(171, 43, 146)
HSLhsl(312, 60%, 42%)
HSVhsv(312, 75%, 67%)
CMYKcmyk(0%, 74.9%, 14.6%, 32.9%)
CIE-LABlab(41.94, 61.13, -27.87)
CIE-LCHlch(41.94, 67.19, 335.49°)
OKLaboklab(52.54% 0.1803 -0.0758)
OKLCHoklch(52.54% 0.196 337.2)
XYZxyz(22.8472, 12.4631, 28.3909)
Luminance0.1246 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2B92 #2BAB44
analogous
#842BAB #AB2B92 #AB2B52
triadic
#AB2B92 #92AB2B #2B92AB
tetradic
#AB2B92 #AB842B #2BAB44 #2B52AB
square
#AB2B92 #AB842B #2BAB44 #2B52AB
split-complementary
#AB2B92 #52AB2B #2BAB84
monochromatic
#49123E #7A1F68 #AB2B92 #D043B4 #DC74C8

Accessibility & contrast

On white

6.01
#AB2B92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#AB2B92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2B92
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2B92#FFFFFF#000000##FFFFFF
##AB2B921.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5695
Deuteranopia (green-blind)
#5B6A8F
Tritanopia (blue-blind)
#B4335C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab2b92;
/* rgb */ color: rgb(171, 43, 146);
/* oklch */ color: oklch(52.5% 0.196 337.2);
Tailwind
colors: {
  custom: {
    50: '#c872b2',
    500: '#ab2b92',
    950: '#000000',
  },
}
SCSS
$custom: #ab2b92;
$custom-light: #c872b2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2b92",
  "rgb": {
    "r": 171,
    "g": 43,
    "b": 146
  },
  "hsl": {
    "h": 311.719,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52541,
    "c": 0.19555,
    "h": 337.2
  },
  "luminance": 0.12461
}

Semantic roles & 50–950 ramp

primary
#AB2B92
secondary
#6EC47F
accent
#E36445
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AB2B92

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

Preview Lab → · Contrast checker → · Palette generator →

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