#AB2B62#AB2B62

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

Color values

HEX#AB2B62
RGBrgb(171, 43, 98)
HSLhsl(334, 60%, 42%)
HSVhsv(334, 75%, 67%)
CMYKcmyk(0%, 74.9%, 42.7%, 32.9%)
CIE-LABlab(40.03, 55.21, -1.07)
CIE-LCHlch(40.03, 55.22, 358.89°)
OKLaboklab(50.53% 0.1695 -0.0021)
OKLCHoklch(50.53% 0.169 359.3)
XYZxyz(19.8645, 11.2701, 12.6822)
Luminance0.1127 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2B62 #2BAB74
analogous
#AB2BA2 #AB2B62 #AB342B
triadic
#AB2B62 #62AB2B #2B62AB
tetradic
#AB2B62 #A2AB2B #2BAB74 #342BAB
square
#AB2B62 #A2AB2B #2BAB74 #342BAB
split-complementary
#AB2B62 #2BAB34 #2BA2AB
monochromatic
#49122A #7A1F46 #AB2B62 #D04380 #DC74A1

Accessibility & contrast

On white

6.45
#AB2B62 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2B62
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2B62#FFFFFF#000000##FFFFFF
##AB2B621.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474F63
Deuteranopia (green-blind)
#69675F
Tritanopia (blue-blind)
#B91743
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab2b62;
/* rgb */ color: rgb(171, 43, 98);
/* oklch */ color: oklch(50.5% 0.169 359.3);
Tailwind
colors: {
  custom: {
    50: '#c9708e',
    500: '#ab2b62',
    950: '#000000',
  },
}
SCSS
$custom: #ab2b62;
$custom-light: #c9708e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2b62",
  "rgb": {
    "r": 171,
    "g": 43,
    "b": 98
  },
  "hsl": {
    "h": 334.219,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50525,
    "c": 0.16949,
    "h": 359.3
  },
  "luminance": 0.11268
}

Semantic roles & 50–950 ramp

primary
#AB2B62
secondary
#6EC49F
accent
#E39F45
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AB2B62

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

Preview Lab → · Contrast checker → · Palette generator →

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