#AB1F85#AB1F85

#AB1F85 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 51.0% C 0.199 H 342.1°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#AB1F85
RGBrgb(171, 31, 133)
HSLhsl(316, 69%, 40%)
HSVhsv(316, 82%, 67%)
CMYKcmyk(0%, 81.9%, 22.2%, 32.9%)
CIE-LABlab(40.14, 62.77, -22.74)
CIE-LCHlch(40.14, 66.76, 340.09°)
OKLaboklab(51.04% 0.1891 -0.0611)
OKLCHoklch(51.04% 0.199 342.1)
XYZxyz(21.5190, 11.3337, 23.2401)
Luminance0.1133 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB1F85 #1FAB45
analogous
#8B1FAB #AB1F85 #AB1F3F
triadic
#AB1F85 #85AB1F #1F85AB
tetradic
#AB1F85 #AB8B1F #1FAB45 #1F3FAB
square
#AB1F85 #AB8B1F #1FAB45 #1F3FAB
split-complementary
#AB1F85 #3FAB1F #1FAB8B
monochromatic
#430C34 #77165D #AB1F85 #D92EAB #E362C0

Accessibility & contrast

On white

6.43
#AB1F85 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#AB1F85 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB1F85
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB1F85#FFFFFF#000000##FFFFFF
##AB1F851.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5088
Deuteranopia (green-blind)
#5C6782
Tritanopia (blue-blind)
#B62151
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab1f85;
/* rgb */ color: rgb(171, 31, 133);
/* oklch */ color: oklch(51.0% 0.199 342.1);
Tailwind
colors: {
  custom: {
    50: '#c86da8',
    500: '#ab1f85',
    950: '#000000',
  },
}
SCSS
$custom: #ab1f85;
$custom-light: #c86da8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab1f85",
  "rgb": {
    "r": 171,
    "g": 31,
    "b": 133
  },
  "hsl": {
    "h": 316.286,
    "s": 69.307,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51041,
    "c": 0.19869,
    "h": 342.1
  },
  "luminance": 0.11331
}

Semantic roles & 50–950 ramp

primary
#AB1F85
secondary
#5EC77B
accent
#EC6C3C
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14080F
muted
#827B7F

Preview Lab

Preview with #AB1F85

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

Preview Lab → · Contrast checker → · Palette generator →

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