#AB2A64#AB2A64

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

Color values

HEX#AB2A64
RGBrgb(171, 42, 100)
HSLhsl(333, 61%, 42%)
HSVhsv(333, 75%, 67%)
CMYKcmyk(0%, 75.4%, 41.5%, 32.9%)
CIE-LABlab(39.98, 55.74, -2.41)
CIE-LCHlch(39.98, 55.80, 357.53°)
OKLaboklab(50.51% 0.1712 -0.0056)
OKLCHoklch(50.51% 0.171 358.1)
XYZxyz(19.9242, 11.2365, 13.1738)
Luminance0.1123 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A64 #2AAB71
analogous
#AB2AA5 #AB2A64 #AB312A
triadic
#AB2A64 #64AB2A #2A64AB
tetradic
#AB2A64 #A5AB2A #2AAB71 #312AAB
square
#AB2A64 #A5AB2A #2AAB71 #312AAB
split-complementary
#AB2A64 #2AAB31 #2AA5AB
monochromatic
#49122B #7A1E47 #AB2A64 #D14282 #DD73A2

Accessibility & contrast

On white

6.47
#AB2A64 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#AB2A64 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2A64
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2A64#FFFFFF#000000##FFFFFF
##AB2A641.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454F65
Deuteranopia (green-blind)
#696761
Tritanopia (blue-blind)
#B91743
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab2a64;
/* rgb */ color: rgb(171, 42, 100);
/* oklch */ color: oklch(50.5% 0.171 358.1);
Tailwind
colors: {
  custom: {
    50: '#c97090',
    500: '#ab2a64',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a64;
$custom-light: #c97090;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a64",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 100
  },
  "hsl": {
    "h": 333.023,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50505,
    "c": 0.1713,
    "h": 358.1
  },
  "luminance": 0.11234
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB2A64

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

Preview Lab → · Contrast checker → · Palette generator →

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