#AB417D#AB417D

#AB417D is a mid, vivid pink. Relative luminance 0.139; OKLCH L 53.8% C 0.153 H 348.4°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#AB417D
RGBrgb(171, 65, 125)
HSLhsl(326, 45%, 46%)
HSVhsv(326, 62%, 67%)
CMYKcmyk(0%, 62%, 26.9%, 32.9%)
CIE-LABlab(44.12, 49.65, -11.73)
CIE-LCHlch(44.12, 51.01, 346.71°)
OKLaboklab(53.84% 0.1503 -0.0307)
OKLCHoklch(53.84% 0.153 348.4)
XYZxyz(22.3874, 13.9214, 20.9061)
Luminance0.1392 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB417D #41AB6F
analogous
#A441AB #AB417D #AB4148
triadic
#AB417D #7DAB41 #417DAB
tetradic
#AB417D #ABA441 #41AB6F #4148AB
square
#AB417D #ABA441 #41AB6F #4148AB
split-complementary
#AB417D #48AB41 #41ABA4
monochromatic
#521F3C #7F305D #AB417D #C4659B #D591B8

Accessibility & contrast

On white

5.55
#AB417D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#AB417D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB417D
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB417D#FFFFFF#000000##FFFFFF
##AB417D1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5D7F
Deuteranopia (green-blind)
#6B6F7A
Tritanopia (blue-blind)
#B63E59
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ab417d;
/* rgb */ color: rgb(171, 65, 125);
/* oklch */ color: oklch(53.8% 0.153 348.4);
Tailwind
colors: {
  custom: {
    50: '#c77ca2',
    500: '#ab417d',
    950: '#000000',
  },
}
SCSS
$custom: #ab417d;
$custom-light: #c77ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab417d",
  "rgb": {
    "r": 171,
    "g": 65,
    "b": 125
  },
  "hsl": {
    "h": 326.038,
    "s": 44.915,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53841,
    "c": 0.15337,
    "h": 348.4
  },
  "luminance": 0.13919
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB417D

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

Preview Lab → · Contrast checker → · Palette generator →

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