#AB548E#AB548E

#AB548E is a mid, vivid pink. Relative luminance 0.170; OKLCH L 57.1% C 0.134 H 341.7°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#AB548E
RGBrgb(171, 84, 142)
HSLhsl(320, 34%, 50%)
HSVhsv(320, 51%, 67%)
CMYKcmyk(0%, 50.9%, 17%, 32.9%)
CIE-LABlab(48.20, 42.98, -15.81)
CIE-LCHlch(48.20, 45.79, 339.81°)
OKLaboklab(57.08% 0.1271 -0.0422)
OKLCHoklch(57.08% 0.134 341.7)
XYZxyz(24.8478, 16.9534, 27.5496)
Luminance0.1695 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB548E #54AB71
analogous
#9D54AB #AB548E #AB5462
triadic
#AB548E #8EAB54 #548EAB
tetradic
#AB548E #AB9D54 #54AB71 #5462AB
square
#AB548E #AB9D54 #54AB71 #5462AB
split-complementary
#AB548E #62AB54 #54AB9D
monochromatic
#592C4A #82406C #AB548E #BF7DA9 #D3A6C4

Accessibility & contrast

On white

4.78
#AB548E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#AB548E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB548E
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB548E#FFFFFF#000000##FFFFFF
##AB548E1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596A90
Deuteranopia (green-blind)
#71788C
Tritanopia (blue-blind)
#B4556A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ab548e;
/* rgb */ color: rgb(171, 84, 142);
/* oklch */ color: oklch(57.1% 0.134 341.7);
Tailwind
colors: {
  custom: {
    50: '#c687af',
    500: '#ab548e',
    950: '#000000',
  },
}
SCSS
$custom: #ab548e;
$custom-light: #c687af;
$custom-dark: #000000;
JSON
{
  "hex": "#ab548e",
  "rgb": {
    "r": 171,
    "g": 84,
    "b": 142
  },
  "hsl": {
    "h": 320,
    "s": 34.118,
    "l": 50
  },
  "oklch": {
    "l": 0.57081,
    "c": 0.13395,
    "h": 341.7
  },
  "luminance": 0.16952
}

Semantic roles & 50–950 ramp

primary
#AB548E
secondary
#9AC1A7
accent
#CA825E
background
#FCF8FA
surface
#F8F0F4
border
#D1CBCE
text
#130B10
muted
#827C7F

Preview Lab

Preview with #AB548E

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

Preview Lab → · Contrast checker → · Palette generator →

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