#AB2B6B#AB2B6B

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

Color values

HEX#AB2B6B
RGBrgb(171, 43, 107)
HSLhsl(330, 60%, 42%)
HSVhsv(330, 75%, 67%)
CMYKcmyk(0%, 74.9%, 37.4%, 32.9%)
CIE-LABlab(40.33, 56.15, -6.29)
CIE-LCHlch(40.33, 56.50, 353.61°)
OKLaboklab(50.84% 0.1723 -0.0159)
OKLCHoklch(50.84% 0.173 354.7)
XYZxyz(20.3136, 11.4497, 15.0474)
Luminance0.1145 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2B6B #2BAB6B
analogous
#AB2BAB #AB2B6B #AB2B2B
triadic
#AB2B6B #6BAB2B #2B6BAB
tetradic
#AB2B6B #ABAB2B #2BAB6B #2B2BAB
square
#AB2B6B #ABAB2B #2BAB6B #2B2BAB
split-complementary
#AB2B6B #2BAB2B #2BABAB
monochromatic
#49122E #7A1F4C #AB2B6B #D0438A #DC74A8

Accessibility & contrast

On white

6.38
#AB2B6B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2B6B
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2B6B#FFFFFF#000000##FFFFFF
##AB2B6B1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44506D
Deuteranopia (green-blind)
#676868
Tritanopia (blue-blind)
#B91D47
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab2b6b;
/* rgb */ color: rgb(171, 43, 107);
/* oklch */ color: oklch(50.8% 0.173 354.7);
Tailwind
colors: {
  custom: {
    50: '#c97095',
    500: '#ab2b6b',
    950: '#000000',
  },
}
SCSS
$custom: #ab2b6b;
$custom-light: #c97095;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2b6b",
  "rgb": {
    "r": 171,
    "g": 43,
    "b": 107
  },
  "hsl": {
    "h": 330,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.5084,
    "c": 0.17305,
    "h": 354.7
  },
  "luminance": 0.11447
}

Semantic roles & 50–950 ramp

primary
#AB2B6B
secondary
#6EC499
accent
#E39445
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#14080D
muted
#827B7E

Preview Lab

Preview with #AB2B6B

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

Preview Lab → · Contrast checker → · Palette generator →

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