#AB4185#AB4185

#AB4185 is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.2% C 0.158 H 344.3°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#AB4185
RGBrgb(171, 65, 133)
HSLhsl(322, 45%, 46%)
HSVhsv(322, 62%, 67%)
CMYKcmyk(0%, 62%, 22.2%, 32.9%)
CIE-LABlab(44.42, 50.76, -16.14)
CIE-LCHlch(44.42, 53.27, 342.36°)
OKLaboklab(54.17% 0.1523 -0.0429)
OKLCHoklch(54.17% 0.158 344.3)
XYZxyz(22.9192, 14.1341, 23.7068)
Luminance0.1413 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4185 #41AB67
analogous
#9C41AB #AB4185 #AB4150
triadic
#AB4185 #85AB41 #4185AB
tetradic
#AB4185 #AB9C41 #41AB67 #4150AB
square
#AB4185 #AB9C41 #41AB67 #4150AB
split-complementary
#AB4185 #50AB41 #41AB9C
monochromatic
#521F40 #7F3063 #AB4185 #C465A2 #D591BD

Accessibility & contrast

On white

5.49
#AB4185 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#AB4185 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4185
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4185#FFFFFF#000000##FFFFFF
##AB41851.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5E87
Deuteranopia (green-blind)
#697082
Tritanopia (blue-blind)
#B6405D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ab4185;
/* rgb */ color: rgb(171, 65, 133);
/* oklch */ color: oklch(54.2% 0.158 344.3);
Tailwind
colors: {
  custom: {
    50: '#c77ca8',
    500: '#ab4185',
    950: '#000000',
  },
}
SCSS
$custom: #ab4185;
$custom-light: #c77ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4185",
  "rgb": {
    "r": 171,
    "g": 65,
    "b": 133
  },
  "hsl": {
    "h": 321.509,
    "s": 44.915,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54166,
    "c": 0.15826,
    "h": 344.3
  },
  "luminance": 0.14132
}

Semantic roles & 50–950 ramp

primary
#AB4185
secondary
#87C19C
accent
#D58253
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130A0F
muted
#827C7F

Preview Lab

Preview with #AB4185

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

Preview Lab → · Contrast checker → · Palette generator →

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