#AB4F90#AB4F90

#AB4F90 is a mid, vivid pink. Relative luminance 0.163; OKLCH L 56.5% C 0.144 H 340.0°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#AB4F90
RGBrgb(171, 79, 144)
HSLhsl(318, 37%, 49%)
HSVhsv(318, 54%, 67%)
CMYKcmyk(0%, 53.8%, 15.8%, 32.9%)
CIE-LABlab(47.32, 45.81, -18.35)
CIE-LCHlch(47.32, 49.35, 338.18°)
OKLaboklab(56.45% 0.1351 -0.0492)
OKLCHoklch(56.45% 0.144 340)
XYZxyz(24.6250, 16.2654, 28.2227)
Luminance0.1626 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4F90 #4FAB6A
analogous
#984FAB #AB4F90 #AB4F62
triadic
#AB4F90 #90AB4F #4F90AB
tetradic
#AB4F90 #AB984F #4FAB6A #4F62AB
square
#AB4F90 #AB984F #4FAB6A #4F62AB
split-complementary
#AB4F90 #62AB4F #4FAB98
monochromatic
#572849 #813C6D #AB4F90 #C077AB #D4A1C5

Accessibility & contrast

On white

4.94
#AB4F90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB4F90
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4F90#FFFFFF#000000##FFFFFF
##AB4F901.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536792
Deuteranopia (green-blind)
#6D768E
Tritanopia (blue-blind)
#B45169
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ab4f90;
/* rgb */ color: rgb(171, 79, 144);
/* oklch */ color: oklch(56.5% 0.144 340.0);
Tailwind
colors: {
  custom: {
    50: '#c684b0',
    500: '#ab4f90',
    950: '#000000',
  },
}
SCSS
$custom: #ab4f90;
$custom-light: #c684b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4f90",
  "rgb": {
    "r": 171,
    "g": 79,
    "b": 144
  },
  "hsl": {
    "h": 317.609,
    "s": 36.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56451,
    "c": 0.14381,
    "h": 340
  },
  "luminance": 0.16264
}

Semantic roles & 50–950 ramp

primary
#AB4F90
secondary
#95C1A2
accent
#CD7C5B
background
#FCF8FA
surface
#F8EFF5
border
#D1CACF
text
#130B10
muted
#827C7F

Preview Lab

Preview with #AB4F90

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

Preview Lab → · Contrast checker → · Palette generator →

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