#AB2B7B#AB2B7B

#AB2B7B is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.5% C 0.181 H 347.1°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#AB2B7B
RGBrgb(171, 43, 123)
HSLhsl(323, 60%, 42%)
HSVhsv(323, 75%, 67%)
CMYKcmyk(0%, 74.9%, 28.1%, 32.9%)
CIE-LABlab(40.93, 58.02, -15.35)
CIE-LCHlch(40.93, 60.02, 345.18°)
OKLaboklab(51.47% 0.1765 -0.0405)
OKLCHoklch(51.47% 0.181 347.1)
XYZxyz(21.2346, 11.8181, 19.8979)
Luminance0.1182 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2B7B #2BAB5B
analogous
#9B2BAB #AB2B7B #AB2B3B
triadic
#AB2B7B #7BAB2B #2B7BAB
tetradic
#AB2B7B #AB9B2B #2BAB5B #2B3BAB
square
#AB2B7B #AB9B2B #2BAB5B #2B3BAB
split-complementary
#AB2B7B #3BAB2B #2BAB9B
monochromatic
#491235 #7A1F58 #AB2B7B #D0439B #DC74B5

Accessibility & contrast

On white

6.24
#AB2B7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#AB2B7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2B7B
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2B7B#FFFFFF#000000##FFFFFF
##AB2B7B1.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D527D
Deuteranopia (green-blind)
#636878
Tritanopia (blue-blind)
#B7264F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab2b7b;
/* rgb */ color: rgb(171, 43, 123);
/* oklch */ color: oklch(51.5% 0.181 347.1);
Tailwind
colors: {
  custom: {
    50: '#c871a1',
    500: '#ab2b7b',
    950: '#000000',
  },
}
SCSS
$custom: #ab2b7b;
$custom-light: #c871a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2b7b",
  "rgb": {
    "r": 171,
    "g": 43,
    "b": 123
  },
  "hsl": {
    "h": 322.5,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51472,
    "c": 0.18108,
    "h": 347.1
  },
  "luminance": 0.11816
}

Semantic roles & 50–950 ramp

primary
#AB2B7B
secondary
#6EC48E
accent
#E38045
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080F
muted
#827B7E

Preview Lab

Preview with #AB2B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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