#AB3681#AB3681

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

Color values

HEX#AB3681
RGBrgb(171, 54, 129)
HSLhsl(322, 52%, 44%)
HSVhsv(322, 68%, 67%)
CMYKcmyk(0%, 68.4%, 24.6%, 32.9%)
CIE-LABlab(42.59, 54.82, -16.50)
CIE-LCHlch(42.59, 57.25, 343.25°)
OKLaboklab(52.76% 0.1655 -0.0438)
OKLCHoklch(52.76% 0.171 345.2)
XYZxyz(22.0770, 12.8835, 22.0887)
Luminance0.1288 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3681 #36AB60
analogous
#9B36AB #AB3681 #AB3647
triadic
#AB3681 #81AB36 #3681AB
tetradic
#AB3681 #AB9B36 #36AB60 #3647AB
square
#AB3681 #AB9B36 #36AB60 #3647AB
split-complementary
#AB3681 #47AB36 #36AB9B
monochromatic
#4E193B #7C275E #AB3681 #C955A0 #D883BA

Accessibility & contrast

On white

5.87
#AB3681 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB3681
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3681#FFFFFF#000000##FFFFFF
##AB36811.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435883
Deuteranopia (green-blind)
#656C7E
Tritanopia (blue-blind)
#B63456
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab3681;
/* rgb */ color: rgb(171, 54, 129);
/* oklch */ color: oklch(52.8% 0.171 345.2);
Tailwind
colors: {
  custom: {
    50: '#c876a5',
    500: '#ab3681',
    950: '#000000',
  },
}
SCSS
$custom: #ab3681;
$custom-light: #c876a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3681",
  "rgb": {
    "r": 171,
    "g": 54,
    "b": 129
  },
  "hsl": {
    "h": 321.538,
    "s": 52,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52764,
    "c": 0.17122,
    "h": 345.2
  },
  "luminance": 0.12881
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB3681

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

Preview Lab → · Contrast checker → · Palette generator →

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