#AB2B6E#AB2B6E

#AB2B6E is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.0% C 0.174 H 353.3°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#AB2B6E
RGBrgb(171, 43, 110)
HSLhsl(329, 60%, 42%)
HSVhsv(329, 75%, 67%)
CMYKcmyk(0%, 74.9%, 35.7%, 32.9%)
CIE-LABlab(40.43, 56.48, -8.01)
CIE-LCHlch(40.43, 57.05, 351.93°)
OKLaboklab(50.95% 0.1732 -0.0205)
OKLCHoklch(50.95% 0.174 353.3)
XYZxyz(20.4742, 11.5139, 15.8930)
Luminance0.1151 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2B6E #2BAB68
analogous
#A82BAB #AB2B6E #AB2B2E
triadic
#AB2B6E #6EAB2B #2B6EAB
tetradic
#AB2B6E #ABA82B #2BAB68 #2B2EAB
square
#AB2B6E #ABA82B #2BAB68 #2B2EAB
split-complementary
#AB2B6E #2EAB2B #2BABA8
monochromatic
#49122F #7A1F4F #AB2B6E #D0438D #DC74AB

Accessibility & contrast

On white

6.36
#AB2B6E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#AB2B6E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2B6E
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2B6E#FFFFFF#000000##FFFFFF
##AB2B6E1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435070
Deuteranopia (green-blind)
#67686B
Tritanopia (blue-blind)
#B81F49
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab2b6e;
/* rgb */ color: rgb(171, 43, 110);
/* oklch */ color: oklch(51.0% 0.174 353.3);
Tailwind
colors: {
  custom: {
    50: '#c97097',
    500: '#ab2b6e',
    950: '#000000',
  },
}
SCSS
$custom: #ab2b6e;
$custom-light: #c97097;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2b6e",
  "rgb": {
    "r": 171,
    "g": 43,
    "b": 110
  },
  "hsl": {
    "h": 328.594,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50951,
    "c": 0.1744,
    "h": 353.3
  },
  "luminance": 0.11511
}

Semantic roles & 50–950 ramp

primary
#AB2B6E
secondary
#6EC497
accent
#E39045
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080D
muted
#827B7E

Preview Lab

Preview with #AB2B6E

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

Preview Lab → · Contrast checker → · Palette generator →

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