#AB3E8B#AB3E8B

#AB3E8B is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.1% C 0.167 H 341.1°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#AB3E8B
RGBrgb(171, 62, 139)
HSLhsl(318, 47%, 46%)
HSVhsv(318, 64%, 67%)
CMYKcmyk(0%, 63.7%, 18.7%, 32.9%)
CIE-LABlab(44.19, 52.94, -20.14)
CIE-LCHlch(44.19, 56.65, 339.17°)
OKLaboklab(54.07% 0.1576 -0.0541)
OKLCHoklch(54.07% 0.167 341.1)
XYZxyz(23.1780, 13.9693, 25.8967)
Luminance0.1397 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3E8B #3EAB5E
analogous
#943EAB #AB3E8B #AB3E54
triadic
#AB3E8B #8BAB3E #3E8BAB
tetradic
#AB3E8B #AB943E #3EAB5E #3E54AB
square
#AB3E8B #AB943E #3EAB5E #3E54AB
split-complementary
#AB3E8B #54AB3E #3EAB94
monochromatic
#511D42 #7E2E66 #AB3E8B #C661A8 #D68EC1

Accessibility & contrast

On white

5.54
#AB3E8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#AB3E8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3E8B
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3E8B#FFFFFF#000000##FFFFFF
##AB3E8B1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455D8D
Deuteranopia (green-blind)
#666F88
Tritanopia (blue-blind)
#B5405F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ab3e8b;
/* rgb */ color: rgb(171, 62, 139);
/* oklch */ color: oklch(54.1% 0.167 341.1);
Tailwind
colors: {
  custom: {
    50: '#c77aad',
    500: '#ab3e8b',
    950: '#000000',
  },
}
SCSS
$custom: #ab3e8b;
$custom-light: #c77aad;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3e8b",
  "rgb": {
    "r": 171,
    "g": 62,
    "b": 139
  },
  "hsl": {
    "h": 317.615,
    "s": 46.781,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54073,
    "c": 0.16665,
    "h": 341.1
  },
  "luminance": 0.13967
}

Semantic roles & 50–950 ramp

primary
#AB3E8B
secondary
#84C196
accent
#D67851
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130A10
muted
#827C7F

Preview Lab

Preview with #AB3E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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