#AB1F5D#AB1F5D

#AB1F5D is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.4% C 0.179 H 0.2°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#AB1F5D
RGBrgb(171, 31, 93)
HSLhsl(333, 69%, 40%)
HSVhsv(333, 82%, 67%)
CMYKcmyk(0%, 81.9%, 45.6%, 32.9%)
CIE-LABlab(38.60, 58.33, 0.01)
CIE-LCHlch(38.60, 58.33, 0.01°)
OKLaboklab(49.43% 0.1794 0.0007)
OKLCHoklch(49.43% 0.179 0.2)
XYZxyz(19.2619, 10.4308, 11.3529)
Luminance0.1043 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB1F5D #1FAB6D
analogous
#AB1FA3 #AB1F5D #AB271F
triadic
#AB1F5D #5DAB1F #1F5DAB
tetradic
#AB1F5D #A3AB1F #1FAB6D #271FAB
square
#AB1F5D #A3AB1F #1FAB6D #271FAB
split-complementary
#AB1F5D #1FAB27 #1FA3AB
monochromatic
#430C25 #771641 #AB1F5D #D92E7A #E3629B

Accessibility & contrast

On white

6.81
#AB1F5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#AB1F5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB1F5D
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB1F5D#FFFFFF#000000##FFFFFF
##AB1F5D1.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424A5E
Deuteranopia (green-blind)
#67645A
Tritanopia (blue-blind)
#BA003C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab1f5d;
/* rgb */ color: rgb(171, 31, 93);
/* oklch */ color: oklch(49.4% 0.179 0.2);
Tailwind
colors: {
  custom: {
    50: '#ca6b8a',
    500: '#ab1f5d',
    950: '#000000',
  },
}
SCSS
$custom: #ab1f5d;
$custom-light: #ca6b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab1f5d",
  "rgb": {
    "r": 171,
    "g": 31,
    "b": 93
  },
  "hsl": {
    "h": 333.429,
    "s": 69.307,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49428,
    "c": 0.17936,
    "h": 0.2
  },
  "luminance": 0.10428
}

Semantic roles & 50–950 ramp

primary
#AB1F5D
secondary
#5EC799
accent
#EC9E3C
background
#FDF6F8
surface
#FAECF0
border
#D3C7CB
text
#14080B
muted
#837A7C

Preview Lab

Preview with #AB1F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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