#AB3581#AB3581

#AB3581 is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.7% C 0.173 H 345.1°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#AB3581
RGBrgb(171, 53, 129)
HSLhsl(321, 53%, 44%)
HSVhsv(321, 69%, 67%)
CMYKcmyk(0%, 69%, 24.6%, 32.9%)
CIE-LABlab(42.45, 55.21, -16.72)
CIE-LCHlch(42.45, 57.69, 343.15°)
OKLaboklab(52.66% 0.1667 -0.0444)
OKLCHoklch(52.66% 0.173 345.1)
XYZxyz(22.0310, 12.7914, 22.0734)
Luminance0.1279 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3581 #35AB5F
analogous
#9A35AB #AB3581 #AB3546
triadic
#AB3581 #81AB35 #3581AB
tetradic
#AB3581 #AB9A35 #35AB5F #3546AB
square
#AB3581 #AB9A35 #35AB5F #3546AB
split-complementary
#AB3581 #46AB35 #35AB9A
monochromatic
#4E183B #7C275E #AB3581 #CA53A0 #D882BA

Accessibility & contrast

On white

5.90
#AB3581 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#AB3581 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3581
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3581#FFFFFF#000000##FFFFFF
##AB35811.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425783
Deuteranopia (green-blind)
#656B7E
Tritanopia (blue-blind)
#B63356
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab3581;
/* rgb */ color: rgb(171, 53, 129);
/* oklch */ color: oklch(52.7% 0.173 345.1);
Tailwind
colors: {
  custom: {
    50: '#c876a5',
    500: '#ab3581',
    950: '#000000',
  },
}
SCSS
$custom: #ab3581;
$custom-light: #c876a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3581",
  "rgb": {
    "r": 171,
    "g": 53,
    "b": 129
  },
  "hsl": {
    "h": 321.356,
    "s": 52.679,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52662,
    "c": 0.17252,
    "h": 345.1
  },
  "luminance": 0.12789
}

Semantic roles & 50–950 ramp

primary
#AB3581
secondary
#7AC294
accent
#DC7F4C
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AB3581

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

Preview Lab → · Contrast checker → · Palette generator →

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