#AB3A8B#AB3A8B

#AB3A8B is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.6% C 0.172 H 340.8°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#AB3A8B
RGBrgb(171, 58, 139)
HSLhsl(317, 49%, 45%)
HSVhsv(317, 66%, 67%)
CMYKcmyk(0%, 66.1%, 18.7%, 32.9%)
CIE-LABlab(43.58, 54.62, -21.08)
CIE-LCHlch(43.58, 58.55, 338.90°)
OKLaboklab(53.63% 0.1627 -0.0567)
OKLCHoklch(53.63% 0.172 340.8)
XYZxyz(22.9684, 13.5502, 25.8269)
Luminance0.1355 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3A8B #3AAB5A
analogous
#923AAB #AB3A8B #AB3A53
triadic
#AB3A8B #8BAB3A #3A8BAB
tetradic
#AB3A8B #AB923A #3AAB5A #3A53AB
square
#AB3A8B #AB923A #3AAB5A #3A53AB
split-complementary
#AB3A8B #53AB3A #3AAB92
monochromatic
#501B41 #7D2A66 #AB3A8B #C75BA9 #D789C1

Accessibility & contrast

On white

5.66
#AB3A8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#AB3A8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3A8B
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3A8B#FFFFFF#000000##FFFFFF
##AB3A8B1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415B8D
Deuteranopia (green-blind)
#646E88
Tritanopia (blue-blind)
#B53C5D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ab3a8b;
/* rgb */ color: rgb(171, 58, 139);
/* oklch */ color: oklch(53.6% 0.172 340.8);
Tailwind
colors: {
  custom: {
    50: '#c778ad',
    500: '#ab3a8b',
    950: '#000000',
  },
}
SCSS
$custom: #ab3a8b;
$custom-light: #c778ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3a8b",
  "rgb": {
    "r": 171,
    "g": 58,
    "b": 139
  },
  "hsl": {
    "h": 316.991,
    "s": 49.345,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53628,
    "c": 0.17228,
    "h": 340.8
  },
  "luminance": 0.13548
}

Semantic roles & 50–950 ramp

primary
#AB3A8B
secondary
#80C192
accent
#D9764F
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #AB3A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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