#AB418D#AB418D

#AB418D is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.5% C 0.164 H 340.3°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#AB418D
RGBrgb(171, 65, 141)
HSLhsl(317, 45%, 46%)
HSVhsv(317, 62%, 67%)
CMYKcmyk(0%, 62%, 17.5%, 32.9%)
CIE-LABlab(44.75, 51.94, -20.49)
CIE-LCHlch(44.75, 55.83, 338.47°)
OKLaboklab(54.51% 0.1541 -0.0551)
OKLCHoklch(54.51% 0.164 340.3)
XYZxyz(23.4931, 14.3637, 26.7293)
Luminance0.1436 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB418D #41AB5F
analogous
#9441AB #AB418D #AB4158
triadic
#AB418D #8DAB41 #418DAB
tetradic
#AB418D #AB9441 #41AB5F #4158AB
square
#AB418D #AB9441 #41AB5F #4158AB
split-complementary
#AB418D #58AB41 #41AB94
monochromatic
#521F44 #7F3068 #AB418D #C465A9 #D591C2

Accessibility & contrast

On white

5.42
#AB418D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#AB418D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB418D
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB418D#FFFFFF#000000##FFFFFF
##AB418D1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475F8F
Deuteranopia (green-blind)
#67708A
Tritanopia (blue-blind)
#B54361
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab418d;
/* rgb */ color: rgb(171, 65, 141);
/* oklch */ color: oklch(54.5% 0.164 340.3);
Tailwind
colors: {
  custom: {
    50: '#c77cae',
    500: '#ab418d',
    950: '#000000',
  },
}
SCSS
$custom: #ab418d;
$custom-light: #c77cae;
$custom-dark: #000000;
JSON
{
  "hex": "#ab418d",
  "rgb": {
    "r": 171,
    "g": 65,
    "b": 141
  },
  "hsl": {
    "h": 316.981,
    "s": 44.915,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54512,
    "c": 0.16366,
    "h": 340.3
  },
  "luminance": 0.14362
}

Semantic roles & 50–950 ramp

primary
#AB418D
secondary
#87C197
accent
#D57853
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130A10
muted
#827C7F

Preview Lab

Preview with #AB418D

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

Preview Lab → · Contrast checker → · Palette generator →

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