#AB1F45#AB1F45

#AB1F45 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.8% C 0.174 H 11.9°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#AB1F45
RGBrgb(171, 31, 69)
HSLhsl(344, 69%, 40%)
HSVhsv(344, 82%, 67%)
CMYKcmyk(0%, 81.9%, 59.6%, 32.9%)
CIE-LABlab(37.97, 56.41, 14.46)
CIE-LCHlch(37.97, 58.24, 14.38°)
OKLaboklab(48.75% 0.1704 0.0358)
OKLCHoklch(48.75% 0.174 11.9)
XYZxyz(18.3606, 10.0703, 6.6060)
Luminance0.1007 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB1F45 #1FAB85
analogous
#AB1F8B #AB1F45 #AB3F1F
triadic
#AB1F45 #45AB1F #1F45AB
tetradic
#AB1F45 #8BAB1F #1FAB85 #3F1FAB
square
#AB1F45 #8BAB1F #1FAB85 #3F1FAB
split-complementary
#AB1F45 #1FAB3F #1F8BAB
monochromatic
#430C1B #771630 #AB1F45 #D92E5D #E36285

Accessibility & contrast

On white

6.97
#AB1F45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#AB1F45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB1F45
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB1F45#FFFFFF#000000##FFFFFF
##AB1F451.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484745
Deuteranopia (green-blind)
#6B6341
Tritanopia (blue-blind)
#BB0030
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #ab1f45;
/* rgb */ color: rgb(171, 31, 69);
/* oklch */ color: oklch(48.8% 0.174 11.9);
Tailwind
colors: {
  custom: {
    50: '#cb6b78',
    500: '#ab1f45',
    950: '#000000',
  },
}
SCSS
$custom: #ab1f45;
$custom-light: #cb6b78;
$custom-dark: #000000;
JSON
{
  "hex": "#ab1f45",
  "rgb": {
    "r": 171,
    "g": 31,
    "b": 69
  },
  "hsl": {
    "h": 343.714,
    "s": 69.307,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48753,
    "c": 0.17417,
    "h": 11.9
  },
  "luminance": 0.10068
}

Semantic roles & 50–950 ramp

primary
#AB1F45
secondary
#5EC7AB
accent
#ECBC3C
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#150708
muted
#837A7B

Preview Lab

Preview with #AB1F45

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

Preview Lab → · Contrast checker → · Palette generator →

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