#AB1E4A#AB1E4A

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

Color values

HEX#AB1E4A
RGBrgb(171, 30, 74)
HSLhsl(341, 70%, 39%)
HSVhsv(341, 82%, 67%)
CMYKcmyk(0%, 82.5%, 56.7%, 32.9%)
CIE-LABlab(37.99, 57.02, 11.29)
CIE-LCHlch(37.99, 58.13, 11.20°)
OKLaboklab(48.81% 0.1732 0.0285)
OKLCHoklch(48.81% 0.176 9.3)
XYZxyz(18.4967, 10.0836, 7.4496)
Luminance0.1008 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB1E4A #1EAB7F
analogous
#AB1E90 #AB1E4A #AB391E
triadic
#AB1E4A #4AAB1E #1E4AAB
tetradic
#AB1E4A #90AB1E #1EAB7F #391EAB
square
#AB1E4A #90AB1E #1EAB7F #391EAB
split-complementary
#AB1E4A #1EAB39 #1E90AB
monochromatic
#430C1D #771533 #AB1E4A #DA2C62 #E36089

Accessibility & contrast

On white

6.96
#AB1E4A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#AB1E4A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB1E4A
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB1E4A#FFFFFF#000000##FFFFFF
##AB1E4A1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46474B
Deuteranopia (green-blind)
#6A6346
Tritanopia (blue-blind)
#BB0032
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #ab1e4a;
/* rgb */ color: rgb(171, 30, 74);
/* oklch */ color: oklch(48.8% 0.176 9.3);
Tailwind
colors: {
  custom: {
    50: '#cb6a7c',
    500: '#ab1e4a',
    950: '#000000',
  },
}
SCSS
$custom: #ab1e4a;
$custom-light: #cb6a7c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab1e4a",
  "rgb": {
    "r": 171,
    "g": 30,
    "b": 74
  },
  "hsl": {
    "h": 341.277,
    "s": 70.149,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48808,
    "c": 0.17558,
    "h": 9.3
  },
  "luminance": 0.10081
}

Semantic roles & 50–950 ramp

primary
#AB1E4A
secondary
#5DC8A6
accent
#EDB53B
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#150709
muted
#837A7B

Preview Lab

Preview with #AB1E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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