#AB2A5E#AB2A5E

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

Color values

HEX#AB2A5E
RGBrgb(171, 42, 94)
HSLhsl(336, 61%, 42%)
HSVhsv(336, 75%, 67%)
CMYKcmyk(0%, 75.4%, 45%, 32.9%)
CIE-LABlab(39.79, 55.15, 1.10)
CIE-LCHlch(39.79, 55.16, 1.15°)
OKLaboklab(50.31% 0.1692 0.0035)
OKLCHoklch(50.31% 0.169 1.2)
XYZxyz(19.6445, 11.1246, 11.7003)
Luminance0.1112 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A5E #2AAB77
analogous
#AB2A9F #AB2A5E #AB372A
triadic
#AB2A5E #5EAB2A #2A5EAB
tetradic
#AB2A5E #9FAB2A #2AAB77 #372AAB
square
#AB2A5E #9FAB2A #2AAB77 #372AAB
split-complementary
#AB2A5E #2AAB37 #2A9FAB
monochromatic
#491228 #7A1E43 #AB2A5E #D1427B #DD739D

Accessibility & contrast

On white

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

On black

3.22
#AB2A5E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AB2A5E#FFFFFF#000000##FFFFFF
##AB2A5E1.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474E5F
Deuteranopia (green-blind)
#6A675B
Tritanopia (blue-blind)
#BA1240
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab2a5e;
/* rgb */ color: rgb(171, 42, 94);
/* oklch */ color: oklch(50.3% 0.169 1.2);
Tailwind
colors: {
  custom: {
    50: '#c96f8b',
    500: '#ab2a5e',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a5e;
$custom-light: #c96f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a5e",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 94
  },
  "hsl": {
    "h": 335.814,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50307,
    "c": 0.16923,
    "h": 1.2
  },
  "luminance": 0.11122
}

Semantic roles & 50–950 ramp

primary
#AB2A5E
secondary
#6DC4A1
accent
#E4A344
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AB2A5E

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

Preview Lab → · Contrast checker → · Palette generator →

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