#AB1C51#AB1C51

#AB1C51 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.9% C 0.178 H 5.7°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#AB1C51
RGBrgb(171, 28, 81)
HSLhsl(338, 72%, 39%)
HSVhsv(338, 84%, 67%)
CMYKcmyk(0%, 83.6%, 52.6%, 32.9%)
CIE-LABlab(37.99, 58.05, 6.80)
CIE-LCHlch(37.99, 58.45, 6.68°)
OKLaboklab(48.87% 0.1775 0.0177)
OKLCHoklch(48.87% 0.178 5.7)
XYZxyz(18.6968, 10.0852, 8.7451)
Luminance0.1008 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB1C51 #1CAB76
analogous
#AB1C99 #AB1C51 #AB2F1C
triadic
#AB1C51 #51AB1C #1C51AB
tetradic
#AB1C51 #99AB1C #1CAB76 #2F1CAB
square
#AB1C51 #99AB1C #1CAB76 #2F1CAB
split-complementary
#AB1C51 #1CAB2F #1C99AB
monochromatic
#420B1F #761338 #AB1C51 #DC286B #E45D8F

Accessibility & contrast

On white

6.96
#AB1C51 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#AB1C51 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB1C51
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB1C51#FFFFFF#000000##FFFFFF
##AB1C511.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444852
Deuteranopia (green-blind)
#69634E
Tritanopia (blue-blind)
#BB0034
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #ab1c51;
/* rgb */ color: rgb(171, 28, 81);
/* oklch */ color: oklch(48.9% 0.178 5.7);
Tailwind
colors: {
  custom: {
    50: '#ca6a81',
    500: '#ab1c51',
    950: '#000000',
  },
}
SCSS
$custom: #ab1c51;
$custom-light: #ca6a81;
$custom-dark: #000000;
JSON
{
  "hex": "#ab1c51",
  "rgb": {
    "r": 171,
    "g": 28,
    "b": 81
  },
  "hsl": {
    "h": 337.762,
    "s": 71.859,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48868,
    "c": 0.17842,
    "h": 5.7
  },
  "luminance": 0.10083
}

Semantic roles & 50–950 ramp

primary
#AB1C51
secondary
#5AC9A0
accent
#EFAB39
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#14070A
muted
#837A7C

Preview Lab

Preview with #AB1C51

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

Preview Lab → · Contrast checker → · Palette generator →

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