#AB1F5E#AB1F5E

#AB1F5E is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.5% C 0.180 H 359.7°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#AB1F5E
RGBrgb(171, 31, 94)
HSLhsl(333, 69%, 40%)
HSVhsv(333, 82%, 67%)
CMYKcmyk(0%, 81.9%, 45%, 32.9%)
CIE-LABlab(38.64, 58.42, -0.58)
CIE-LCHlch(38.64, 58.42, 359.43°)
OKLaboklab(49.46% 0.1797 -0.0008)
OKLCHoklch(49.46% 0.18 359.7)
XYZxyz(19.3065, 10.4487, 11.5877)
Luminance0.1045 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB1F5E #1FAB6C
analogous
#AB1FA4 #AB1F5E #AB261F
triadic
#AB1F5E #5EAB1F #1F5EAB
tetradic
#AB1F5E #A4AB1F #1FAB6C #261FAB
square
#AB1F5E #A4AB1F #1FAB6C #261FAB
split-complementary
#AB1F5E #1FAB26 #1FA4AB
monochromatic
#430C25 #771642 #AB1F5E #D92E7B #E3629C

Accessibility & contrast

On white

6.80
#AB1F5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB1F5E
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB1F5E#FFFFFF#000000##FFFFFF
##AB1F5E1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414A5F
Deuteranopia (green-blind)
#67645B
Tritanopia (blue-blind)
#BA003C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab1f5e;
/* rgb */ color: rgb(171, 31, 94);
/* oklch */ color: oklch(49.5% 0.180 359.7);
Tailwind
colors: {
  custom: {
    50: '#ca6b8b',
    500: '#ab1f5e',
    950: '#000000',
  },
}
SCSS
$custom: #ab1f5e;
$custom-light: #ca6b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#ab1f5e",
  "rgb": {
    "r": 171,
    "g": 31,
    "b": 94
  },
  "hsl": {
    "h": 333,
    "s": 69.307,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49461,
    "c": 0.17969,
    "h": 359.7
  },
  "luminance": 0.10446
}

Semantic roles & 50–950 ramp

primary
#AB1F5E
secondary
#5EC798
accent
#EC9D3C
background
#FDF6F8
surface
#FAECF0
border
#D3C7CB
text
#14080C
muted
#837A7D

Preview Lab

Preview with #AB1F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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