#AB3291#AB3291

#AB3291 is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.1% C 0.187 H 337.8°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#AB3291
RGBrgb(171, 50, 145)
HSLhsl(313, 55%, 43%)
HSVhsv(313, 71%, 67%)
CMYKcmyk(0%, 70.8%, 15.2%, 32.9%)
CIE-LABlab(42.74, 58.59, -26.02)
CIE-LCHlch(42.74, 64.11, 336.06°)
OKLaboklab(53.1% 0.173 -0.0706)
OKLCHoklch(53.1% 0.187 337.8)
XYZxyz(23.0465, 12.9856, 28.0753)
Luminance0.1298 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3291 #32AB4C
analogous
#8832AB #AB3291 #AB3254
triadic
#AB3291 #91AB32 #3291AB
tetradic
#AB3291 #AB8832 #32AB4C #3254AB
square
#AB3291 #AB8832 #32AB4C #3254AB
split-complementary
#AB3291 #54AB32 #32AB88
monochromatic
#4C1641 #7C2469 #AB3291 #CB4FB1 #D97EC6

Accessibility & contrast

On white

5.84
#AB3291 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#AB3291 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3291
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3291#FFFFFF#000000##FFFFFF
##AB32911.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375994
Deuteranopia (green-blind)
#5E6C8E
Tritanopia (blue-blind)
#B4385D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab3291;
/* rgb */ color: rgb(171, 50, 145);
/* oklch */ color: oklch(53.1% 0.187 337.8);
Tailwind
colors: {
  custom: {
    50: '#c875b1',
    500: '#ab3291',
    950: '#000000',
  },
}
SCSS
$custom: #ab3291;
$custom-light: #c875b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3291",
  "rgb": {
    "r": 171,
    "g": 50,
    "b": 145
  },
  "hsl": {
    "h": 312.893,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53104,
    "c": 0.18682,
    "h": 337.8
  },
  "luminance": 0.12983
}

Semantic roles & 50–950 ramp

primary
#AB3291
secondary
#77C287
accent
#DE6A4A
background
#FCF7FA
surface
#F9EDF5
border
#D2C8CF
text
#140910
muted
#827B7F

Preview Lab

Preview with #AB3291

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

Preview Lab → · Contrast checker → · Palette generator →

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