#AB2B6A#AB2B6A

#AB2B6A is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.8% C 0.173 H 355.2°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#AB2B6A
RGBrgb(171, 43, 106)
HSLhsl(330, 60%, 42%)
HSVhsv(330, 75%, 67%)
CMYKcmyk(0%, 74.9%, 38%, 32.9%)
CIE-LABlab(40.29, 56.04, -5.71)
CIE-LCHlch(40.29, 56.33, 354.18°)
OKLaboklab(50.8% 0.172 -0.0143)
OKLCHoklch(50.8% 0.173 355.2)
XYZxyz(20.2613, 11.4288, 14.7719)
Luminance0.1143 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2B6A #2BAB6C
analogous
#AB2BAA #AB2B6A #AB2C2B
triadic
#AB2B6A #6AAB2B #2B6AAB
tetradic
#AB2B6A #AAAB2B #2BAB6C #2C2BAB
square
#AB2B6A #AAAB2B #2BAB6C #2C2BAB
split-complementary
#AB2B6A #2BAB2C #2BAAAB
monochromatic
#49122D #7A1F4C #AB2B6A #D04389 #DC74A7

Accessibility & contrast

On white

6.39
#AB2B6A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#AB2B6A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2B6A
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2B6A#FFFFFF#000000##FFFFFF
##AB2B6A1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44506C
Deuteranopia (green-blind)
#686867
Tritanopia (blue-blind)
#B91C47
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab2b6a;
/* rgb */ color: rgb(171, 43, 106);
/* oklch */ color: oklch(50.8% 0.173 355.2);
Tailwind
colors: {
  custom: {
    50: '#c97094',
    500: '#ab2b6a',
    950: '#000000',
  },
}
SCSS
$custom: #ab2b6a;
$custom-light: #c97094;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2b6a",
  "rgb": {
    "r": 171,
    "g": 43,
    "b": 106
  },
  "hsl": {
    "h": 330.469,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50803,
    "c": 0.17262,
    "h": 355.2
  },
  "luminance": 0.11426
}

Semantic roles & 50–950 ramp

primary
#AB2B6A
secondary
#6EC49A
accent
#E39545
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#14080D
muted
#827B7E

Preview Lab

Preview with #AB2B6A

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

Preview Lab → · Contrast checker → · Palette generator →

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