#AB3F8B#AB3F8B

#AB3F8B is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.2% C 0.165 H 341.1°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#AB3F8B
RGBrgb(171, 63, 139)
HSLhsl(318, 46%, 46%)
HSVhsv(318, 63%, 67%)
CMYKcmyk(0%, 63.2%, 18.7%, 32.9%)
CIE-LABlab(44.35, 52.51, -19.90)
CIE-LCHlch(44.35, 56.16, 339.25°)
OKLaboklab(54.19% 0.1563 -0.0534)
OKLCHoklch(54.19% 0.165 341.1)
XYZxyz(23.2329, 14.0791, 25.9150)
Luminance0.1408 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3F8B #3FAB5F
analogous
#953FAB #AB3F8B #AB3F55
triadic
#AB3F8B #8BAB3F #3F8BAB
tetradic
#AB3F8B #AB953F #3FAB5F #3F55AB
square
#AB3F8B #AB953F #3FAB5F #3F55AB
split-complementary
#AB3F8B #55AB3F #3FAB95
monochromatic
#521E42 #7E2F67 #AB3F8B #C562A8 #D68FC1

Accessibility & contrast

On white

5.50
#AB3F8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#AB3F8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3F8B
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3F8B#FFFFFF#000000##FFFFFF
##AB3F8B1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465E8D
Deuteranopia (green-blind)
#666F88
Tritanopia (blue-blind)
#B5415F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ab3f8b;
/* rgb */ color: rgb(171, 63, 139);
/* oklch */ color: oklch(54.2% 0.165 341.1);
Tailwind
colors: {
  custom: {
    50: '#c77bad',
    500: '#ab3f8b',
    950: '#000000',
  },
}
SCSS
$custom: #ab3f8b;
$custom-light: #c77bad;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3f8b",
  "rgb": {
    "r": 171,
    "g": 63,
    "b": 139
  },
  "hsl": {
    "h": 317.778,
    "s": 46.154,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54188,
    "c": 0.1652,
    "h": 341.1
  },
  "luminance": 0.14077
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB3F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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