#AB2B61#AB2B61

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

Color values

HEX#AB2B61
RGBrgb(171, 43, 97)
HSLhsl(335, 60%, 42%)
HSVhsv(335, 75%, 67%)
CMYKcmyk(0%, 74.9%, 43.3%, 32.9%)
CIE-LABlab(40.00, 55.11, -0.48)
CIE-LCHlch(40.00, 55.11, 359.50°)
OKLaboklab(50.49% 0.1691 -0.0006)
OKLCHoklch(50.49% 0.169 359.8)
XYZxyz(19.8176, 11.2513, 12.4351)
Luminance0.1125 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2B61 #2BAB75
analogous
#AB2BA1 #AB2B61 #AB352B
triadic
#AB2B61 #61AB2B #2B61AB
tetradic
#AB2B61 #A1AB2B #2BAB75 #352BAB
square
#AB2B61 #A1AB2B #2BAB75 #352BAB
split-complementary
#AB2B61 #2BAB35 #2BA1AB
monochromatic
#49122A #7A1F45 #AB2B61 #D0437F #DC74A0

Accessibility & contrast

On white

6.46
#AB2B61 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2B61
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2B61#FFFFFF#000000##FFFFFF
##AB2B611.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474F62
Deuteranopia (green-blind)
#6A675E
Tritanopia (blue-blind)
#B91642
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab2b61;
/* rgb */ color: rgb(171, 43, 97);
/* oklch */ color: oklch(50.5% 0.169 359.8);
Tailwind
colors: {
  custom: {
    50: '#c9708d',
    500: '#ab2b61',
    950: '#000000',
  },
}
SCSS
$custom: #ab2b61;
$custom-light: #c9708d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2b61",
  "rgb": {
    "r": 171,
    "g": 43,
    "b": 97
  },
  "hsl": {
    "h": 334.688,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50492,
    "c": 0.16914,
    "h": 359.8
  },
  "luminance": 0.11249
}

Semantic roles & 50–950 ramp

primary
#AB2B61
secondary
#6EC4A0
accent
#E3A045
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AB2B61

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

Preview Lab → · Contrast checker → · Palette generator →

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