#AB2A63#AB2A63

#AB2A63 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.5% C 0.171 H 358.6°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#AB2A63
RGBrgb(171, 42, 99)
HSLhsl(333, 61%, 42%)
HSVhsv(333, 75%, 67%)
CMYKcmyk(0%, 75.4%, 42.1%, 32.9%)
CIE-LABlab(39.94, 55.64, -1.83)
CIE-LCHlch(39.94, 55.67, 358.12°)
OKLaboklab(50.47% 0.1709 -0.0041)
OKLCHoklch(50.47% 0.171 358.6)
XYZxyz(19.8761, 11.2173, 12.9204)
Luminance0.1121 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A63 #2AAB72
analogous
#AB2AA4 #AB2A63 #AB312A
triadic
#AB2A63 #63AB2A #2A63AB
tetradic
#AB2A63 #A4AB2A #2AAB72 #312AAB
square
#AB2A63 #A4AB2A #2AAB72 #312AAB
split-complementary
#AB2A63 #2AAB31 #2AA4AB
monochromatic
#49122A #7A1E47 #AB2A63 #D14281 #DD73A2

Accessibility & contrast

On white

6.48
#AB2A63 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#AB2A63 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2A63
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2A63#FFFFFF#000000##FFFFFF
##AB2A631.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464F64
Deuteranopia (green-blind)
#696760
Tritanopia (blue-blind)
#B91643
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab2a63;
/* rgb */ color: rgb(171, 42, 99);
/* oklch */ color: oklch(50.5% 0.171 358.6);
Tailwind
colors: {
  custom: {
    50: '#c9708f',
    500: '#ab2a63',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a63;
$custom-light: #c9708f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a63",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 99
  },
  "hsl": {
    "h": 333.488,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50471,
    "c": 0.17093,
    "h": 358.6
  },
  "luminance": 0.11215
}

Semantic roles & 50–950 ramp

primary
#AB2A63
secondary
#6DC49D
accent
#E49D44
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AB2A63

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

Preview Lab → · Contrast checker → · Palette generator →

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