#AB3682#AB3682

#AB3682 is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.8% C 0.172 H 344.7°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#AB3682
RGBrgb(171, 54, 130)
HSLhsl(321, 52%, 44%)
HSVhsv(321, 68%, 67%)
CMYKcmyk(0%, 68.4%, 24%, 32.9%)
CIE-LABlab(42.63, 54.96, -17.06)
CIE-LCHlch(42.63, 57.54, 342.76°)
OKLaboklab(52.81% 0.1657 -0.0454)
OKLCHoklch(52.81% 0.172 344.7)
XYZxyz(22.1438, 12.9102, 22.4405)
Luminance0.1291 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3682 #36AB5F
analogous
#9A36AB #AB3682 #AB3647
triadic
#AB3682 #82AB36 #3682AB
tetradic
#AB3682 #AB9A36 #36AB5F #3647AB
square
#AB3682 #AB9A36 #36AB5F #3647AB
split-complementary
#AB3682 #47AB36 #36AB9A
monochromatic
#4E193B #7C275F #AB3682 #C955A1 #D883BA

Accessibility & contrast

On white

5.86
#AB3682 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#AB3682 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3682
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3682#FFFFFF#000000##FFFFFF
##AB36821.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425884
Deuteranopia (green-blind)
#656C7F
Tritanopia (blue-blind)
#B63557
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab3682;
/* rgb */ color: rgb(171, 54, 130);
/* oklch */ color: oklch(52.8% 0.172 344.7);
Tailwind
colors: {
  custom: {
    50: '#c876a6',
    500: '#ab3682',
    950: '#000000',
  },
}
SCSS
$custom: #ab3682;
$custom-light: #c876a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3682",
  "rgb": {
    "r": 171,
    "g": 54,
    "b": 130
  },
  "hsl": {
    "h": 321.026,
    "s": 52,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52807,
    "c": 0.17183,
    "h": 344.7
  },
  "luminance": 0.12908
}

Semantic roles & 50–950 ramp

primary
#AB3682
secondary
#7BC294
accent
#DB7E4C
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AB3682

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

Preview Lab → · Contrast checker → · Palette generator →

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