#AB2B91#AB2B91

#AB2B91 is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.5% C 0.195 H 337.6°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#AB2B91
RGBrgb(171, 43, 145)
HSLhsl(312, 60%, 42%)
HSVhsv(312, 75%, 67%)
CMYKcmyk(0%, 74.9%, 15.2%, 32.9%)
CIE-LABlab(41.89, 60.99, -27.34)
CIE-LCHlch(41.89, 66.83, 335.86°)
OKLaboklab(52.49% 0.1802 -0.0743)
OKLCHoklch(52.49% 0.195 337.6)
XYZxyz(22.7698, 12.4322, 27.9830)
Luminance0.1243 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2B91 #2BAB45
analogous
#852BAB #AB2B91 #AB2B51
triadic
#AB2B91 #91AB2B #2B91AB
tetradic
#AB2B91 #AB852B #2BAB45 #2B51AB
square
#AB2B91 #AB852B #2BAB45 #2B51AB
split-complementary
#AB2B91 #51AB2B #2BAB85
monochromatic
#49123E #7A1F68 #AB2B91 #D043B3 #DC74C7

Accessibility & contrast

On white

6.02
#AB2B91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2B91
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2B91#FFFFFF#000000##FFFFFF
##AB2B911.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305694
Deuteranopia (green-blind)
#5C6A8E
Tritanopia (blue-blind)
#B4325B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab2b91;
/* rgb */ color: rgb(171, 43, 145);
/* oklch */ color: oklch(52.5% 0.195 337.6);
Tailwind
colors: {
  custom: {
    50: '#c872b1',
    500: '#ab2b91',
    950: '#000000',
  },
}
SCSS
$custom: #ab2b91;
$custom-light: #c872b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2b91",
  "rgb": {
    "r": 171,
    "g": 43,
    "b": 145
  },
  "hsl": {
    "h": 312.188,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52491,
    "c": 0.19486,
    "h": 337.6
  },
  "luminance": 0.1243
}

Semantic roles & 50–950 ramp

primary
#AB2B91
secondary
#6EC480
accent
#E36545
background
#FCF7FA
surface
#F9EDF5
border
#D2C8CF
text
#140911
muted
#827B80

Preview Lab

Preview with #AB2B91

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

Preview Lab → · Contrast checker → · Palette generator →

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