#AB418B#AB418B

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

Color values

HEX#AB418B
RGBrgb(171, 65, 139)
HSLhsl(318, 45%, 46%)
HSVhsv(318, 62%, 67%)
CMYKcmyk(0%, 62%, 18.7%, 32.9%)
CIE-LABlab(44.67, 51.64, -19.41)
CIE-LCHlch(44.67, 55.16, 339.40°)
OKLaboklab(54.42% 0.1537 -0.052)
OKLCHoklch(54.42% 0.162 341.3)
XYZxyz(23.3456, 14.3047, 25.9526)
Luminance0.1430 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB418B #41AB61
analogous
#9641AB #AB418B #AB4156
triadic
#AB418B #8BAB41 #418BAB
tetradic
#AB418B #AB9641 #41AB61 #4156AB
square
#AB418B #AB9641 #41AB61 #4156AB
split-complementary
#AB418B #56AB41 #41AB96
monochromatic
#521F43 #7F3067 #AB418B #C465A8 #D591C1

Accessibility & contrast

On white

5.44
#AB418B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#AB418B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB418B
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB418B#FFFFFF#000000##FFFFFF
##AB418B1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485F8D
Deuteranopia (green-blind)
#677088
Tritanopia (blue-blind)
#B54360
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab418b;
/* rgb */ color: rgb(171, 65, 139);
/* oklch */ color: oklch(54.4% 0.162 341.3);
Tailwind
colors: {
  custom: {
    50: '#c77cad',
    500: '#ab418b',
    950: '#000000',
  },
}
SCSS
$custom: #ab418b;
$custom-light: #c77cad;
$custom-dark: #000000;
JSON
{
  "hex": "#ab418b",
  "rgb": {
    "r": 171,
    "g": 65,
    "b": 139
  },
  "hsl": {
    "h": 318.113,
    "s": 44.915,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54424,
    "c": 0.16227,
    "h": 341.3
  },
  "luminance": 0.14303
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB418B

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

Preview Lab → · Contrast checker → · Palette generator →

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