#AB3F97#AB3F97

#AB3F97 is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.7% C 0.174 H 335.7°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#AB3F97
RGBrgb(171, 63, 151)
HSLhsl(311, 46%, 46%)
HSVhsv(311, 63%, 67%)
CMYKcmyk(0%, 63.2%, 11.7%, 32.9%)
CIE-LABlab(44.87, 54.35, -26.32)
CIE-LCHlch(44.87, 60.39, 334.16°)
OKLaboklab(54.74% 0.1585 -0.0715)
OKLCHoklch(54.74% 0.174 335.7)
XYZxyz(24.1583, 14.4493, 30.7888)
Luminance0.1445 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3F97 #3FAB53
analogous
#893FAB #AB3F97 #AB3F61
triadic
#AB3F97 #97AB3F #3F97AB
tetradic
#AB3F97 #AB893F #3FAB53 #3F61AB
square
#AB3F97 #AB893F #3FAB53 #3F61AB
split-complementary
#AB3F97 #61AB3F #3FAB89
monochromatic
#521E48 #7E2F70 #AB3F97 #C562B3 #D68FC9

Accessibility & contrast

On white

5.40
#AB3F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#AB3F97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3F97
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3F97#FFFFFF#000000##FFFFFF
##AB3F971.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40609A
Deuteranopia (green-blind)
#627094
Tritanopia (blue-blind)
#B34565
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab3f97;
/* rgb */ color: rgb(171, 63, 151);
/* oklch */ color: oklch(54.7% 0.174 335.7);
Tailwind
colors: {
  custom: {
    50: '#c77bb6',
    500: '#ab3f97',
    950: '#000000',
  },
}
SCSS
$custom: #ab3f97;
$custom-light: #c77bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3f97",
  "rgb": {
    "r": 171,
    "g": 63,
    "b": 151
  },
  "hsl": {
    "h": 311.111,
    "s": 46.154,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54744,
    "c": 0.17391,
    "h": 335.7
  },
  "luminance": 0.14447
}

Semantic roles & 50–950 ramp

primary
#AB3F97
secondary
#85C190
accent
#D66A52
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#130A11
muted
#827C80

Preview Lab

Preview with #AB3F97

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

Preview Lab → · Contrast checker → · Palette generator →

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