#AB1C48#AB1C48

#AB1C48 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.6% C 0.177 H 10.0°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#AB1C48
RGBrgb(171, 28, 72)
HSLhsl(342, 72%, 39%)
HSVhsv(342, 84%, 67%)
CMYKcmyk(0%, 83.6%, 57.9%, 32.9%)
CIE-LABlab(37.77, 57.38, 12.27)
CIE-LCHlch(37.77, 58.68, 12.07°)
OKLaboklab(48.63% 0.1741 0.0308)
OKLCHoklch(48.63% 0.177 10)
XYZxyz(18.3814, 9.9591, 7.0840)
Luminance0.0996 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB1C48 #1CAB7F
analogous
#AB1C90 #AB1C48 #AB371C
triadic
#AB1C48 #48AB1C #1C48AB
tetradic
#AB1C48 #90AB1C #1CAB7F #371CAB
square
#AB1C48 #90AB1C #1CAB7F #371CAB
split-complementary
#AB1C48 #1CAB37 #1C90AB
monochromatic
#420B1C #761332 #AB1C48 #DC2860 #E45D87

Accessibility & contrast

On white

7.02
#AB1C48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#AB1C48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #AB1C48
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB1C48#FFFFFF#000000##FFFFFF
##AB1C481.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464749
Deuteranopia (green-blind)
#6A6344
Tritanopia (blue-blind)
#BB0030
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #ab1c48;
/* rgb */ color: rgb(171, 28, 72);
/* oklch */ color: oklch(48.6% 0.177 10.0);
Tailwind
colors: {
  custom: {
    50: '#cb6a7a',
    500: '#ab1c48',
    950: '#000000',
  },
}
SCSS
$custom: #ab1c48;
$custom-light: #cb6a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab1c48",
  "rgb": {
    "r": 171,
    "g": 28,
    "b": 72
  },
  "hsl": {
    "h": 341.538,
    "s": 71.859,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48629,
    "c": 0.1768,
    "h": 10
  },
  "luminance": 0.09956
}

Semantic roles & 50–950 ramp

primary
#AB1C48
secondary
#5AC9A7
accent
#EFB739
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#150709
muted
#837A7B

Preview Lab

Preview with #AB1C48

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

Preview Lab → · Contrast checker → · Palette generator →

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