#AB3288#AB3288

#AB3288 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.7% C 0.181 H 341.7°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#AB3288
RGBrgb(171, 50, 136)
HSLhsl(317, 55%, 43%)
HSVhsv(317, 71%, 67%)
CMYKcmyk(0%, 70.8%, 20.5%, 32.9%)
CIE-LABlab(42.34, 57.30, -21.17)
CIE-LCHlch(42.34, 61.09, 339.72°)
OKLaboklab(52.68% 0.1716 -0.0569)
OKLCHoklch(52.68% 0.181 341.7)
XYZxyz(22.3798, 12.7189, 24.5641)
Luminance0.1272 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3288 #32AB55
analogous
#9132AB #AB3288 #AB324C
triadic
#AB3288 #88AB32 #3288AB
tetradic
#AB3288 #AB9132 #32AB55 #324CAB
square
#AB3288 #AB9132 #32AB55 #324CAB
split-complementary
#AB3288 #4CAB32 #32AB91
monochromatic
#4C163D #7C2462 #AB3288 #CB4FA7 #D97EBF

Accessibility & contrast

On white

5.93
#AB3288 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#AB3288 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3288
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3288#FFFFFF#000000##FFFFFF
##AB32881.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C578A
Deuteranopia (green-blind)
#626B85
Tritanopia (blue-blind)
#B53459
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab3288;
/* rgb */ color: rgb(171, 50, 136);
/* oklch */ color: oklch(52.7% 0.181 341.7);
Tailwind
colors: {
  custom: {
    50: '#c874ab',
    500: '#ab3288',
    950: '#000000',
  },
}
SCSS
$custom: #ab3288;
$custom-light: #c874ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3288",
  "rgb": {
    "r": 171,
    "g": 50,
    "b": 136
  },
  "hsl": {
    "h": 317.355,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52677,
    "c": 0.18074,
    "h": 341.7
  },
  "luminance": 0.12717
}

Semantic roles & 50–950 ramp

primary
#AB3288
secondary
#77C28C
accent
#DE754A
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AB3288

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

Preview Lab → · Contrast checker → · Palette generator →

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