#AB2B63#AB2B63

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

Color values

HEX#AB2B63
RGBrgb(171, 43, 99)
HSLhsl(334, 60%, 42%)
HSVhsv(334, 75%, 67%)
CMYKcmyk(0%, 74.9%, 42.1%, 32.9%)
CIE-LABlab(40.06, 55.31, -1.65)
CIE-LCHlch(40.06, 55.33, 358.29°)
OKLaboklab(50.56% 0.1698 -0.0036)
OKLCHoklch(50.56% 0.17 358.8)
XYZxyz(19.9121, 11.2891, 12.9324)
Luminance0.1129 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2B63 #2BAB73
analogous
#AB2BA3 #AB2B63 #AB332B
triadic
#AB2B63 #63AB2B #2B63AB
tetradic
#AB2B63 #A3AB2B #2BAB73 #332BAB
square
#AB2B63 #A3AB2B #2BAB73 #332BAB
split-complementary
#AB2B63 #2BAB33 #2BA3AB
monochromatic
#49122A #7A1F47 #AB2B63 #D04381 #DC74A2

Accessibility & contrast

On white

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

On black

3.26
#AB2B63 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AB2B63#FFFFFF#000000##FFFFFF
##AB2B631.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464F64
Deuteranopia (green-blind)
#696760
Tritanopia (blue-blind)
#B91843
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab2b63;
/* rgb */ color: rgb(171, 43, 99);
/* oklch */ color: oklch(50.6% 0.170 358.8);
Tailwind
colors: {
  custom: {
    50: '#c9708f',
    500: '#ab2b63',
    950: '#000000',
  },
}
SCSS
$custom: #ab2b63;
$custom-light: #c9708f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2b63",
  "rgb": {
    "r": 171,
    "g": 43,
    "b": 99
  },
  "hsl": {
    "h": 333.75,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50559,
    "c": 0.16985,
    "h": 358.8
  },
  "luminance": 0.11287
}

Semantic roles & 50–950 ramp

primary
#AB2B63
secondary
#6EC49E
accent
#E39E45
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AB2B63

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

Preview Lab → · Contrast checker → · Palette generator →

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