#AB5482#AB5482

#AB5482 is a mid, vivid pink. Relative luminance 0.166; OKLCH L 56.6% C 0.126 H 348.9°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#AB5482
RGBrgb(171, 84, 130)
HSLhsl(328, 34%, 50%)
HSVhsv(328, 51%, 67%)
CMYKcmyk(0%, 50.9%, 24%, 32.9%)
CIE-LABlab(47.77, 41.15, -9.27)
CIE-LCHlch(47.77, 42.18, 347.31°)
OKLaboklab(56.61% 0.1237 -0.0242)
OKLCHoklch(56.61% 0.126 348.9)
XYZxyz(23.9949, 16.6123, 23.0575)
Luminance0.1661 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5482 #54AB7D
analogous
#A954AB #AB5482 #AB5456
triadic
#AB5482 #82AB54 #5482AB
tetradic
#AB5482 #ABA954 #54AB7D #5456AB
square
#AB5482 #ABA954 #54AB7D #5456AB
split-complementary
#AB5482 #56AB54 #54ABA9
monochromatic
#592C44 #824063 #AB5482 #BF7DA0 #D3A6BE

Accessibility & contrast

On white

4.86
#AB5482 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#AB5482 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB5482
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5482#FFFFFF#000000##FFFFFF
##AB54821.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6884
Deuteranopia (green-blind)
#747780
Tritanopia (blue-blind)
#B55265
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ab5482;
/* rgb */ color: rgb(171, 84, 130);
/* oklch */ color: oklch(56.6% 0.126 348.9);
Tailwind
colors: {
  custom: {
    50: '#c687a6',
    500: '#ab5482',
    950: '#000000',
  },
}
SCSS
$custom: #ab5482;
$custom-light: #c687a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5482",
  "rgb": {
    "r": 171,
    "g": 84,
    "b": 130
  },
  "hsl": {
    "h": 328.276,
    "s": 34.118,
    "l": 50
  },
  "oklch": {
    "l": 0.56614,
    "c": 0.126,
    "h": 348.9
  },
  "luminance": 0.1661
}

Semantic roles & 50–950 ramp

primary
#AB5482
secondary
#9AC1AC
accent
#CA915E
background
#FCF8FA
surface
#F8F0F4
border
#D1CBCE
text
#130B0F
muted
#827C7F

Preview Lab

Preview with #AB5482

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

Preview Lab → · Contrast checker → · Palette generator →

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