#AB3688#AB3688

#AB3688 is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.1% C 0.176 H 341.9°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#AB3688
RGBrgb(171, 54, 136)
HSLhsl(318, 52%, 44%)
HSVhsv(318, 68%, 67%)
CMYKcmyk(0%, 68.4%, 20.5%, 32.9%)
CIE-LABlab(42.88, 55.79, -20.34)
CIE-LCHlch(42.88, 59.38, 339.97°)
OKLaboklab(53.07% 0.167 -0.0545)
OKLCHoklch(53.07% 0.176 341.9)
XYZxyz(22.5584, 13.0760, 24.6237)
Luminance0.1307 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3688 #36AB59
analogous
#9436AB #AB3688 #AB364E
triadic
#AB3688 #88AB36 #3688AB
tetradic
#AB3688 #AB9436 #36AB59 #364EAB
square
#AB3688 #AB9436 #36AB59 #364EAB
split-complementary
#AB3688 #4EAB36 #36AB94
monochromatic
#4E193E #7C2763 #AB3688 #C955A6 #D883BF

Accessibility & contrast

On white

5.81
#AB3688 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB3688
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3688#FFFFFF#000000##FFFFFF
##AB36881.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F598A
Deuteranopia (green-blind)
#636C85
Tritanopia (blue-blind)
#B5375A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab3688;
/* rgb */ color: rgb(171, 54, 136);
/* oklch */ color: oklch(53.1% 0.176 341.9);
Tailwind
colors: {
  custom: {
    50: '#c776ab',
    500: '#ab3688',
    950: '#000000',
  },
}
SCSS
$custom: #ab3688;
$custom-light: #c776ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3688",
  "rgb": {
    "r": 171,
    "g": 54,
    "b": 136
  },
  "hsl": {
    "h": 317.949,
    "s": 52,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53072,
    "c": 0.17564,
    "h": 341.9
  },
  "luminance": 0.13074
}

Semantic roles & 50–950 ramp

primary
#AB3688
secondary
#7BC290
accent
#DB774C
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AB3688

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

Preview Lab → · Contrast checker → · Palette generator →

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