#AB1F5C#AB1F5C

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

Color values

HEX#AB1F5C
RGBrgb(171, 31, 92)
HSLhsl(334, 69%, 40%)
HSVhsv(334, 82%, 67%)
CMYKcmyk(0%, 81.9%, 46.2%, 32.9%)
CIE-LABlab(38.57, 58.23, 0.60)
CIE-LCHlch(38.57, 58.24, 0.59°)
OKLaboklab(49.4% 0.179 0.0022)
OKLCHoklch(49.4% 0.179 0.7)
XYZxyz(19.2179, 10.4132, 11.1211)
Luminance0.1041 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB1F5C #1FAB6E
analogous
#AB1FA2 #AB1F5C #AB281F
triadic
#AB1F5C #5CAB1F #1F5CAB
tetradic
#AB1F5C #A2AB1F #1FAB6E #281FAB
square
#AB1F5C #A2AB1F #1FAB6E #281FAB
split-complementary
#AB1F5C #1FAB28 #1FA2AB
monochromatic
#430C24 #771640 #AB1F5C #D92E79 #E3629A

Accessibility & contrast

On white

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

On black

3.08
#AB1F5C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AB1F5C#FFFFFF#000000##FFFFFF
##AB1F5C1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424A5D
Deuteranopia (green-blind)
#676459
Tritanopia (blue-blind)
#BA003B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab1f5c;
/* rgb */ color: rgb(171, 31, 92);
/* oklch */ color: oklch(49.4% 0.179 0.7);
Tailwind
colors: {
  custom: {
    50: '#ca6b8a',
    500: '#ab1f5c',
    950: '#000000',
  },
}
SCSS
$custom: #ab1f5c;
$custom-light: #ca6b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab1f5c",
  "rgb": {
    "r": 171,
    "g": 31,
    "b": 92
  },
  "hsl": {
    "h": 333.857,
    "s": 69.307,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49396,
    "c": 0.17903,
    "h": 0.7
  },
  "luminance": 0.10411
}

Semantic roles & 50–950 ramp

primary
#AB1F5C
secondary
#5EC79A
accent
#EC9F3C
background
#FDF6F8
surface
#FAECF0
border
#D3C7CB
text
#14080B
muted
#837A7C

Preview Lab

Preview with #AB1F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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