#AB4F8F#AB4F8F

#AB4F8F is a mid, vivid pink. Relative luminance 0.162; OKLCH L 56.4% C 0.143 H 340.5°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#AB4F8F
RGBrgb(171, 79, 143)
HSLhsl(318, 37%, 49%)
HSVhsv(318, 54%, 67%)
CMYKcmyk(0%, 53.8%, 16.4%, 32.9%)
CIE-LABlab(47.28, 45.66, -17.81)
CIE-LCHlch(47.28, 49.01, 338.69°)
OKLaboklab(56.41% 0.1349 -0.0477)
OKLCHoklch(56.41% 0.143 340.5)
XYZxyz(24.5489, 16.2350, 27.8220)
Luminance0.1623 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4F8F #4FAB6B
analogous
#994FAB #AB4F8F #AB4F61
triadic
#AB4F8F #8FAB4F #4F8FAB
tetradic
#AB4F8F #AB994F #4FAB6B #4F61AB
square
#AB4F8F #AB994F #4FAB6B #4F61AB
split-complementary
#AB4F8F #61AB4F #4FAB99
monochromatic
#572849 #813C6C #AB4F8F #C077AA #D4A1C4

Accessibility & contrast

On white

4.95
#AB4F8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#AB4F8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4F8F
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4F8F#FFFFFF#000000##FFFFFF
##AB4F8F1.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546791
Deuteranopia (green-blind)
#6D768D
Tritanopia (blue-blind)
#B45168
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ab4f8f;
/* rgb */ color: rgb(171, 79, 143);
/* oklch */ color: oklch(56.4% 0.143 340.5);
Tailwind
colors: {
  custom: {
    50: '#c684b0',
    500: '#ab4f8f',
    950: '#000000',
  },
}
SCSS
$custom: #ab4f8f;
$custom-light: #c684b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4f8f",
  "rgb": {
    "r": 171,
    "g": 79,
    "b": 143
  },
  "hsl": {
    "h": 318.261,
    "s": 36.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56409,
    "c": 0.14307,
    "h": 340.5
  },
  "luminance": 0.16233
}

Semantic roles & 50–950 ramp

primary
#AB4F8F
secondary
#95C1A2
accent
#CD7E5B
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130B10
muted
#827C7F

Preview Lab

Preview with #AB4F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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