#AB418A#AB418A

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

Color values

HEX#AB418A
RGBrgb(171, 65, 138)
HSLhsl(319, 45%, 46%)
HSVhsv(319, 62%, 67%)
CMYKcmyk(0%, 62%, 19.3%, 32.9%)
CIE-LABlab(44.63, 51.49, -18.86)
CIE-LCHlch(44.63, 54.84, 339.88°)
OKLaboklab(54.38% 0.1535 -0.0505)
OKLCHoklch(54.38% 0.162 341.8)
XYZxyz(23.2729, 14.2756, 25.5696)
Luminance0.1427 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB418A #41AB62
analogous
#9741AB #AB418A #AB4155
triadic
#AB418A #8AAB41 #418AAB
tetradic
#AB418A #AB9741 #41AB62 #4155AB
square
#AB418A #AB9741 #41AB62 #4155AB
split-complementary
#AB418A #55AB41 #41AB97
monochromatic
#521F42 #7F3066 #AB418A #C465A7 #D591C0

Accessibility & contrast

On white

5.45
#AB418A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#AB418A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB418A
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB418A#FFFFFF#000000##FFFFFF
##AB418A1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485F8C
Deuteranopia (green-blind)
#687087
Tritanopia (blue-blind)
#B54260
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab418a;
/* rgb */ color: rgb(171, 65, 138);
/* oklch */ color: oklch(54.4% 0.162 341.8);
Tailwind
colors: {
  custom: {
    50: '#c77cac',
    500: '#ab418a',
    950: '#000000',
  },
}
SCSS
$custom: #ab418a;
$custom-light: #c77cac;
$custom-dark: #000000;
JSON
{
  "hex": "#ab418a",
  "rgb": {
    "r": 171,
    "g": 65,
    "b": 138
  },
  "hsl": {
    "h": 318.679,
    "s": 44.915,
    "l": 46.275
  },
  "oklch": {
    "l": 0.5438,
    "c": 0.16158,
    "h": 341.8
  },
  "luminance": 0.14273
}

Semantic roles & 50–950 ramp

primary
#AB418A
secondary
#87C199
accent
#D57B53
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130A10
muted
#827C7F

Preview Lab

Preview with #AB418A

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

Preview Lab → · Contrast checker → · Palette generator →

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