#AB3F95#AB3F95

#AB3F95 is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.6% C 0.172 H 336.6°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#AB3F95
RGBrgb(171, 63, 149)
HSLhsl(312, 46%, 46%)
HSVhsv(312, 63%, 67%)
CMYKcmyk(0%, 63.2%, 12.9%, 32.9%)
CIE-LABlab(44.78, 54.04, -25.26)
CIE-LCHlch(44.78, 59.65, 334.94°)
OKLaboklab(54.65% 0.1582 -0.0685)
OKLCHoklch(54.65% 0.172 336.6)
XYZxyz(23.9972, 14.3848, 29.9406)
Luminance0.1438 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3F95 #3FAB55
analogous
#8B3FAB #AB3F95 #AB3F5F
triadic
#AB3F95 #95AB3F #3F95AB
tetradic
#AB3F95 #AB8B3F #3FAB55 #3F5FAB
square
#AB3F95 #AB8B3F #3FAB55 #3F5FAB
split-complementary
#AB3F95 #5FAB3F #3FAB8B
monochromatic
#521E47 #7E2F6E #AB3F95 #C562B1 #D68FC7

Accessibility & contrast

On white

5.42
#AB3F95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#AB3F95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3F95
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3F95#FFFFFF#000000##FFFFFF
##AB3F951.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415F98
Deuteranopia (green-blind)
#637092
Tritanopia (blue-blind)
#B44564
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab3f95;
/* rgb */ color: rgb(171, 63, 149);
/* oklch */ color: oklch(54.6% 0.172 336.6);
Tailwind
colors: {
  custom: {
    50: '#c77bb4',
    500: '#ab3f95',
    950: '#000000',
  },
}
SCSS
$custom: #ab3f95;
$custom-light: #c77bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3f95",
  "rgb": {
    "r": 171,
    "g": 63,
    "b": 149
  },
  "hsl": {
    "h": 312.222,
    "s": 46.154,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54648,
    "c": 0.1724,
    "h": 336.6
  },
  "luminance": 0.14383
}

Semantic roles & 50–950 ramp

primary
#AB3F95
secondary
#85C191
accent
#D66D52
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#130A11
muted
#827C80

Preview Lab

Preview with #AB3F95

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

Preview Lab → · Contrast checker → · Palette generator →

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