#AB3293#AB3293

#AB3293 is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.2% C 0.188 H 337.0°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#AB3293
RGBrgb(171, 50, 147)
HSLhsl(312, 55%, 43%)
HSVhsv(312, 71%, 67%)
CMYKcmyk(0%, 70.8%, 14%, 32.9%)
CIE-LABlab(42.84, 58.89, -27.08)
CIE-LCHlch(42.84, 64.82, 335.30°)
OKLaboklab(53.2% 0.1732 -0.0736)
OKLCHoklch(53.2% 0.188 337)
XYZxyz(23.2020, 13.0478, 28.8946)
Luminance0.1305 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3293 #32AB4A
analogous
#8632AB #AB3293 #AB3256
triadic
#AB3293 #93AB32 #3293AB
tetradic
#AB3293 #AB8632 #32AB4A #3256AB
square
#AB3293 #AB8632 #32AB4A #3256AB
split-complementary
#AB3293 #56AB32 #32AB86
monochromatic
#4C1642 #7C246A #AB3293 #CB4FB3 #D97EC7

Accessibility & contrast

On white

5.82
#AB3293 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#AB3293 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3293
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3293#FFFFFF#000000##FFFFFF
##AB32931.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355996
Deuteranopia (green-blind)
#5D6C90
Tritanopia (blue-blind)
#B4395E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab3293;
/* rgb */ color: rgb(171, 50, 147);
/* oklch */ color: oklch(53.2% 0.188 337.0);
Tailwind
colors: {
  custom: {
    50: '#c875b3',
    500: '#ab3293',
    950: '#000000',
  },
}
SCSS
$custom: #ab3293;
$custom-light: #c875b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3293",
  "rgb": {
    "r": 171,
    "g": 50,
    "b": 147
  },
  "hsl": {
    "h": 311.901,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53202,
    "c": 0.18822,
    "h": 337
  },
  "luminance": 0.13046
}

Semantic roles & 50–950 ramp

primary
#AB3293
secondary
#77C286
accent
#DE674A
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AB3293

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

Preview Lab → · Contrast checker → · Palette generator →

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