#AB417E#AB417E

#AB417E is a mid, vivid pink. Relative luminance 0.139; OKLCH L 53.9% C 0.154 H 347.9°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#AB417E
RGBrgb(171, 65, 126)
HSLhsl(325, 45%, 46%)
HSVhsv(325, 62%, 67%)
CMYKcmyk(0%, 62%, 26.3%, 32.9%)
CIE-LABlab(44.16, 49.78, -12.28)
CIE-LCHlch(44.16, 51.28, 346.14°)
OKLaboklab(53.88% 0.1505 -0.0323)
OKLCHoklch(53.88% 0.154 347.9)
XYZxyz(22.4516, 13.9471, 21.2443)
Luminance0.1394 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB417E #41AB6E
analogous
#A341AB #AB417E #AB4149
triadic
#AB417E #7EAB41 #417EAB
tetradic
#AB417E #ABA341 #41AB6E #4149AB
square
#AB417E #ABA341 #41AB6E #4149AB
split-complementary
#AB417E #49AB41 #41ABA3
monochromatic
#521F3D #7F305D #AB417E #C4659C #D591B8

Accessibility & contrast

On white

5.54
#AB417E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#AB417E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB417E
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB417E#FFFFFF#000000##FFFFFF
##AB417E1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5D80
Deuteranopia (green-blind)
#6B6F7B
Tritanopia (blue-blind)
#B63E5A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ab417e;
/* rgb */ color: rgb(171, 65, 126);
/* oklch */ color: oklch(53.9% 0.154 347.9);
Tailwind
colors: {
  custom: {
    50: '#c77ca3',
    500: '#ab417e',
    950: '#000000',
  },
}
SCSS
$custom: #ab417e;
$custom-light: #c77ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab417e",
  "rgb": {
    "r": 171,
    "g": 65,
    "b": 126
  },
  "hsl": {
    "h": 325.472,
    "s": 44.915,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53881,
    "c": 0.15395,
    "h": 347.9
  },
  "luminance": 0.13945
}

Semantic roles & 50–950 ramp

primary
#AB417E
secondary
#87C1A0
accent
#D58A53
background
#FCF7FA
surface
#F9EEF3
border
#D2C9CD
text
#130A0F
muted
#827C7F

Preview Lab

Preview with #AB417E

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

Preview Lab → · Contrast checker → · Palette generator →

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