#AB3F8D#AB3F8D

#AB3F8D is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.3% C 0.167 H 340.2°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#AB3F8D
RGBrgb(171, 63, 141)
HSLhsl(317, 46%, 46%)
HSVhsv(317, 63%, 67%)
CMYKcmyk(0%, 63.2%, 17.5%, 32.9%)
CIE-LABlab(44.43, 52.81, -20.98)
CIE-LCHlch(44.43, 56.83, 338.33°)
OKLaboklab(54.28% 0.1567 -0.0564)
OKLCHoklch(54.28% 0.167 340.2)
XYZxyz(23.3803, 14.1381, 26.6917)
Luminance0.1414 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3F8D #3FAB5D
analogous
#933FAB #AB3F8D #AB3F57
triadic
#AB3F8D #8DAB3F #3F8DAB
tetradic
#AB3F8D #AB933F #3FAB5D #3F57AB
square
#AB3F8D #AB933F #3FAB5D #3F57AB
split-complementary
#AB3F8D #57AB3F #3FAB93
monochromatic
#521E43 #7E2F68 #AB3F8D #C562AA #D68FC2

Accessibility & contrast

On white

5.49
#AB3F8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#AB3F8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3F8D
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3F8D#FFFFFF#000000##FFFFFF
##AB3F8D1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455E8F
Deuteranopia (green-blind)
#666F8A
Tritanopia (blue-blind)
#B54160
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ab3f8d;
/* rgb */ color: rgb(171, 63, 141);
/* oklch */ color: oklch(54.3% 0.167 340.2);
Tailwind
colors: {
  custom: {
    50: '#c77bae',
    500: '#ab3f8d',
    950: '#000000',
  },
}
SCSS
$custom: #ab3f8d;
$custom-light: #c77bae;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3f8d",
  "rgb": {
    "r": 171,
    "g": 63,
    "b": 141
  },
  "hsl": {
    "h": 316.667,
    "s": 46.154,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54278,
    "c": 0.16659,
    "h": 340.2
  },
  "luminance": 0.14136
}

Semantic roles & 50–950 ramp

primary
#AB3F8D
secondary
#85C196
accent
#D67752
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130A10
muted
#827C7F

Preview Lab

Preview with #AB3F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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