#AB1F5F#AB1F5F

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

Color values

HEX#AB1F5F
RGBrgb(171, 31, 95)
HSLhsl(333, 69%, 40%)
HSVhsv(333, 82%, 67%)
CMYKcmyk(0%, 81.9%, 44.4%, 32.9%)
CIE-LABlab(38.67, 58.51, -1.17)
CIE-LCHlch(38.67, 58.52, 358.86°)
OKLaboklab(49.49% 0.18 -0.0024)
OKLCHoklch(49.49% 0.18 359.2)
XYZxyz(19.3517, 10.4667, 11.8255)
Luminance0.1046 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB1F5F #1FAB6B
analogous
#AB1FA5 #AB1F5F #AB251F
triadic
#AB1F5F #5FAB1F #1F5FAB
tetradic
#AB1F5F #A5AB1F #1FAB6B #251FAB
square
#AB1F5F #A5AB1F #1FAB6B #251FAB
split-complementary
#AB1F5F #1FAB25 #1FA5AB
monochromatic
#430C25 #771642 #AB1F5F #D92E7C #E3629D

Accessibility & contrast

On white

6.79
#AB1F5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB1F5F
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB1F5F#FFFFFF#000000##FFFFFF
##AB1F5F1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414A60
Deuteranopia (green-blind)
#67645C
Tritanopia (blue-blind)
#BA003D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab1f5f;
/* rgb */ color: rgb(171, 31, 95);
/* oklch */ color: oklch(49.5% 0.180 359.2);
Tailwind
colors: {
  custom: {
    50: '#ca6b8c',
    500: '#ab1f5f',
    950: '#000000',
  },
}
SCSS
$custom: #ab1f5f;
$custom-light: #ca6b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab1f5f",
  "rgb": {
    "r": 171,
    "g": 31,
    "b": 95
  },
  "hsl": {
    "h": 332.571,
    "s": 69.307,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49494,
    "c": 0.18004,
    "h": 359.2
  },
  "luminance": 0.10464
}

Semantic roles & 50–950 ramp

primary
#AB1F5F
secondary
#5EC797
accent
#EC9B3C
background
#FDF6F8
surface
#FAECF0
border
#D3C7CB
text
#14080C
muted
#837A7D

Preview Lab

Preview with #AB1F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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