#AB3F8A#AB3F8A

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

Color values

HEX#AB3F8A
RGBrgb(171, 63, 138)
HSLhsl(318, 46%, 46%)
HSVhsv(318, 63%, 67%)
CMYKcmyk(0%, 63.2%, 19.3%, 32.9%)
CIE-LABlab(44.30, 52.37, -19.36)
CIE-LCHlch(44.30, 55.83, 339.71°)
OKLaboklab(54.14% 0.1561 -0.0519)
OKLCHoklch(54.14% 0.165 341.6)
XYZxyz(23.1601, 14.0500, 25.5320)
Luminance0.1405 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3F8A #3FAB60
analogous
#963FAB #AB3F8A #AB3F54
triadic
#AB3F8A #8AAB3F #3F8AAB
tetradic
#AB3F8A #AB963F #3FAB60 #3F54AB
square
#AB3F8A #AB963F #3FAB60 #3F54AB
split-complementary
#AB3F8A #54AB3F #3FAB96
monochromatic
#521E42 #7E2F66 #AB3F8A #C562A7 #D68FC0

Accessibility & contrast

On white

5.51
#AB3F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#AB3F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3F8A
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3F8A#FFFFFF#000000##FFFFFF
##AB3F8A1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475E8C
Deuteranopia (green-blind)
#676F87
Tritanopia (blue-blind)
#B5405F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ab3f8a;
/* rgb */ color: rgb(171, 63, 138);
/* oklch */ color: oklch(54.1% 0.165 341.6);
Tailwind
colors: {
  custom: {
    50: '#c77bac',
    500: '#ab3f8a',
    950: '#000000',
  },
}
SCSS
$custom: #ab3f8a;
$custom-light: #c77bac;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3f8a",
  "rgb": {
    "r": 171,
    "g": 63,
    "b": 138
  },
  "hsl": {
    "h": 318.333,
    "s": 46.154,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54144,
    "c": 0.16452,
    "h": 341.6
  },
  "luminance": 0.14048
}

Semantic roles & 50–950 ramp

primary
#AB3F8A
secondary
#85C197
accent
#D67A52
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130A10
muted
#827C7F

Preview Lab

Preview with #AB3F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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