#AB3292#AB3292

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

Color values

HEX#AB3292
RGBrgb(171, 50, 146)
HSLhsl(312, 55%, 43%)
HSVhsv(312, 71%, 67%)
CMYKcmyk(0%, 70.8%, 14.6%, 32.9%)
CIE-LABlab(42.79, 58.74, -26.55)
CIE-LCHlch(42.79, 64.46, 335.68°)
OKLaboklab(53.15% 0.1731 -0.0721)
OKLCHoklch(53.15% 0.188 337.4)
XYZxyz(23.1239, 13.0166, 28.4832)
Luminance0.1301 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3292 #32AB4B
analogous
#8732AB #AB3292 #AB3255
triadic
#AB3292 #92AB32 #3292AB
tetradic
#AB3292 #AB8732 #32AB4B #3255AB
square
#AB3292 #AB8732 #32AB4B #3255AB
split-complementary
#AB3292 #55AB32 #32AB87
monochromatic
#4C1641 #7C246A #AB3292 #CB4FB2 #D97EC6

Accessibility & contrast

On white

5.83
#AB3292 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB3292
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3292#FFFFFF#000000##FFFFFF
##AB32921.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365995
Deuteranopia (green-blind)
#5E6C8F
Tritanopia (blue-blind)
#B4385E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab3292;
/* rgb */ color: rgb(171, 50, 146);
/* oklch */ color: oklch(53.2% 0.188 337.4);
Tailwind
colors: {
  custom: {
    50: '#c875b2',
    500: '#ab3292',
    950: '#000000',
  },
}
SCSS
$custom: #ab3292;
$custom-light: #c875b2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3292",
  "rgb": {
    "r": 171,
    "g": 50,
    "b": 146
  },
  "hsl": {
    "h": 312.397,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53153,
    "c": 0.18751,
    "h": 337.4
  },
  "luminance": 0.13014
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB3292

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

Preview Lab → · Contrast checker → · Palette generator →

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