#AB1C4A#AB1C4A

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

Color values

HEX#AB1C4A
RGBrgb(171, 28, 74)
HSLhsl(341, 72%, 39%)
HSVhsv(341, 84%, 67%)
CMYKcmyk(0%, 83.6%, 56.7%, 32.9%)
CIE-LABlab(37.82, 57.52, 11.05)
CIE-LCHlch(37.82, 58.58, 10.87°)
OKLaboklab(48.68% 0.1749 0.0279)
OKLCHoklch(48.68% 0.177 9.1)
XYZxyz(18.4477, 9.9856, 7.4333)
Luminance0.0998 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB1C4A #1CAB7D
analogous
#AB1C92 #AB1C4A #AB361C
triadic
#AB1C4A #4AAB1C #1C4AAB
tetradic
#AB1C4A #92AB1C #1CAB7D #361CAB
square
#AB1C4A #92AB1C #1CAB7D #361CAB
split-complementary
#AB1C4A #1CAB36 #1C92AB
monochromatic
#420B1C #761333 #AB1C4A #DC2862 #E45D89

Accessibility & contrast

On white

7.01
#AB1C4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#AB1C4A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB1C4A
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB1C4A#FFFFFF#000000##FFFFFF
##AB1C4A1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45474B
Deuteranopia (green-blind)
#6A6346
Tritanopia (blue-blind)
#BB0031
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #ab1c4a;
/* rgb */ color: rgb(171, 28, 74);
/* oklch */ color: oklch(48.7% 0.177 9.1);
Tailwind
colors: {
  custom: {
    50: '#cb6a7c',
    500: '#ab1c4a',
    950: '#000000',
  },
}
SCSS
$custom: #ab1c4a;
$custom-light: #cb6a7c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab1c4a",
  "rgb": {
    "r": 171,
    "g": 28,
    "b": 74
  },
  "hsl": {
    "h": 340.699,
    "s": 71.859,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48679,
    "c": 0.17709,
    "h": 9.1
  },
  "luminance": 0.09983
}

Semantic roles & 50–950 ramp

primary
#AB1C4A
secondary
#5AC9A5
accent
#EFB439
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#150709
muted
#837A7B

Preview Lab

Preview with #AB1C4A

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

Preview Lab → · Contrast checker → · Palette generator →

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