#AB1C52#AB1C52

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

Color values

HEX#AB1C52
RGBrgb(171, 28, 82)
HSLhsl(337, 72%, 39%)
HSVhsv(337, 84%, 67%)
CMYKcmyk(0%, 83.6%, 52%, 32.9%)
CIE-LABlab(38.02, 58.13, 6.20)
CIE-LCHlch(38.02, 58.46, 6.09°)
OKLaboklab(48.9% 0.1779 0.0163)
OKLCHoklch(48.9% 0.179 5.2)
XYZxyz(18.7346, 10.1003, 8.9441)
Luminance0.1010 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB1C52 #1CAB75
analogous
#AB1C9A #AB1C52 #AB2E1C
triadic
#AB1C52 #52AB1C #1C52AB
tetradic
#AB1C52 #9AAB1C #1CAB75 #2E1CAB
square
#AB1C52 #9AAB1C #1CAB75 #2E1CAB
split-complementary
#AB1C52 #1CAB2E #1C9AAB
monochromatic
#420B20 #761339 #AB1C52 #DC286C #E45D90

Accessibility & contrast

On white

6.95
#AB1C52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB1C52
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB1C52#FFFFFF#000000##FFFFFF
##AB1C521.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434853
Deuteranopia (green-blind)
#69634F
Tritanopia (blue-blind)
#BB0035
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #ab1c52;
/* rgb */ color: rgb(171, 28, 82);
/* oklch */ color: oklch(48.9% 0.179 5.2);
Tailwind
colors: {
  custom: {
    50: '#ca6a82',
    500: '#ab1c52',
    950: '#000000',
  },
}
SCSS
$custom: #ab1c52;
$custom-light: #ca6a82;
$custom-dark: #000000;
JSON
{
  "hex": "#ab1c52",
  "rgb": {
    "r": 171,
    "g": 28,
    "b": 82
  },
  "hsl": {
    "h": 337.343,
    "s": 71.859,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48897,
    "c": 0.17865,
    "h": 5.2
  },
  "luminance": 0.10098
}

Semantic roles & 50–950 ramp

primary
#AB1C52
secondary
#5AC99F
accent
#EFAA39
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#14070A
muted
#837A7C

Preview Lab

Preview with #AB1C52

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

Preview Lab → · Contrast checker → · Palette generator →

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