#AB2A5F#AB2A5F

#AB2A5F is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.3% C 0.170 H 0.7°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#AB2A5F
RGBrgb(171, 42, 95)
HSLhsl(335, 61%, 42%)
HSVhsv(335, 75%, 67%)
CMYKcmyk(0%, 75.4%, 44.4%, 32.9%)
CIE-LABlab(39.82, 55.25, 0.52)
CIE-LCHlch(39.82, 55.25, 0.54°)
OKLaboklab(50.34% 0.1695 0.002)
OKLCHoklch(50.34% 0.17 0.7)
XYZxyz(19.6896, 11.1427, 11.9382)
Luminance0.1114 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A5F #2AAB76
analogous
#AB2AA0 #AB2A5F #AB362A
triadic
#AB2A5F #5FAB2A #2A5FAB
tetradic
#AB2A5F #A0AB2A #2AAB76 #362AAB
square
#AB2A5F #A0AB2A #2AAB76 #362AAB
split-complementary
#AB2A5F #2AAB36 #2AA0AB
monochromatic
#491228 #7A1E44 #AB2A5F #D1427C #DD739E

Accessibility & contrast

On white

6.51
#AB2A5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#AB2A5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2A5F
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2A5F#FFFFFF#000000##FFFFFF
##AB2A5F1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474E60
Deuteranopia (green-blind)
#6A675C
Tritanopia (blue-blind)
#BA1341
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab2a5f;
/* rgb */ color: rgb(171, 42, 95);
/* oklch */ color: oklch(50.3% 0.170 0.7);
Tailwind
colors: {
  custom: {
    50: '#c9708c',
    500: '#ab2a5f',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a5f;
$custom-light: #c9708c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a5f",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 95
  },
  "hsl": {
    "h": 335.349,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50339,
    "c": 0.16955,
    "h": 0.7
  },
  "luminance": 0.1114
}

Semantic roles & 50–950 ramp

primary
#AB2A5F
secondary
#6DC4A0
accent
#E4A244
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AB2A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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