#AB5282#AB5282

#AB5282 is a mid, vivid pink. Relative luminance 0.163; OKLCH L 56.3% C 0.129 H 348.5°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#AB5282
RGBrgb(171, 82, 130)
HSLhsl(328, 35%, 50%)
HSVhsv(328, 52%, 67%)
CMYKcmyk(0%, 52%, 24%, 32.9%)
CIE-LABlab(47.37, 42.17, -9.86)
CIE-LCHlch(47.37, 43.31, 346.84°)
OKLaboklab(56.32% 0.1268 -0.0258)
OKLCHoklch(56.32% 0.129 348.5)
XYZxyz(23.8418, 16.3062, 23.0065)
Luminance0.1630 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5282 #52AB7B
analogous
#A852AB #AB5282 #AB5256
triadic
#AB5282 #82AB52 #5282AB
tetradic
#AB5282 #ABA852 #52AB7B #5256AB
square
#AB5282 #ABA852 #52AB7B #5256AB
split-complementary
#AB5282 #56AB52 #52ABA8
monochromatic
#582A43 #823E63 #AB5282 #C07BA0 #D3A4BE

Accessibility & contrast

On white

4.93
#AB5282 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#AB5282 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB5282
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5282#FFFFFF#000000##FFFFFF
##AB52821.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6784
Deuteranopia (green-blind)
#737680
Tritanopia (blue-blind)
#B55064
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ab5282;
/* rgb */ color: rgb(171, 82, 130);
/* oklch */ color: oklch(56.3% 0.129 348.5);
Tailwind
colors: {
  custom: {
    50: '#c686a6',
    500: '#ab5282',
    950: '#000000',
  },
}
SCSS
$custom: #ab5282;
$custom-light: #c686a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5282",
  "rgb": {
    "r": 171,
    "g": 82,
    "b": 130
  },
  "hsl": {
    "h": 327.64,
    "s": 35.178,
    "l": 49.608
  },
  "oklch": {
    "l": 0.5632,
    "c": 0.12936,
    "h": 348.5
  },
  "luminance": 0.16304
}

Semantic roles & 50–950 ramp

primary
#AB5282
secondary
#98C1AB
accent
#CB905D
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130B0F
muted
#827C7F

Preview Lab

Preview with #AB5282

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

Preview Lab → · Contrast checker → · Palette generator →

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