#AB1C54#AB1C54

#AB1C54 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 49.0% C 0.179 H 4.2°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#AB1C54
RGBrgb(171, 28, 84)
HSLhsl(337, 72%, 39%)
HSVhsv(337, 84%, 67%)
CMYKcmyk(0%, 83.6%, 50.9%, 32.9%)
CIE-LABlab(38.08, 58.30, 5.00)
CIE-LCHlch(38.08, 58.51, 4.90°)
OKLaboklab(48.96% 0.1786 0.0133)
OKLCHoklch(48.96% 0.179 4.2)
XYZxyz(18.8118, 10.1312, 9.3507)
Luminance0.1013 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB1C54 #1CAB73
analogous
#AB1C9C #AB1C54 #AB2B1C
triadic
#AB1C54 #54AB1C #1C54AB
tetradic
#AB1C54 #9CAB1C #1CAB73 #2B1CAB
square
#AB1C54 #9CAB1C #1CAB73 #2B1CAB
split-complementary
#AB1C54 #1CAB2B #1C9CAB
monochromatic
#420B20 #76133A #AB1C54 #DC286F #E45D92

Accessibility & contrast

On white

6.94
#AB1C54 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#AB1C54 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB1C54
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB1C54#FFFFFF#000000##FFFFFF
##AB1C541.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434855
Deuteranopia (green-blind)
#686351
Tritanopia (blue-blind)
#BB0036
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #ab1c54;
/* rgb */ color: rgb(171, 28, 84);
/* oklch */ color: oklch(49.0% 0.179 4.2);
Tailwind
colors: {
  custom: {
    50: '#ca6a83',
    500: '#ab1c54',
    950: '#000000',
  },
}
SCSS
$custom: #ab1c54;
$custom-light: #ca6a83;
$custom-dark: #000000;
JSON
{
  "hex": "#ab1c54",
  "rgb": {
    "r": 171,
    "g": 28,
    "b": 84
  },
  "hsl": {
    "h": 336.503,
    "s": 71.859,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48955,
    "c": 0.17913,
    "h": 4.2
  },
  "luminance": 0.10129
}

Semantic roles & 50–950 ramp

primary
#AB1C54
secondary
#5AC99D
accent
#EFA839
background
#FDF6F8
surface
#FAECEF
border
#D3C7CA
text
#14070A
muted
#837A7C

Preview Lab

Preview with #AB1C54

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

Preview Lab → · Contrast checker → · Palette generator →

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