#AB2B8B#AB2B8B

#AB2B8B is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.2% C 0.191 H 340.0°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#AB2B8B
RGBrgb(171, 43, 139)
HSLhsl(315, 60%, 42%)
HSVhsv(315, 75%, 67%)
CMYKcmyk(0%, 74.9%, 18.7%, 32.9%)
CIE-LABlab(41.61, 60.14, -24.12)
CIE-LCHlch(41.61, 64.80, 338.14°)
OKLaboklab(52.2% 0.1794 -0.0651)
OKLCHoklch(52.2% 0.191 340)
XYZxyz(22.3193, 12.2520, 25.6105)
Luminance0.1225 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2B8B #2BAB4B
analogous
#8B2BAB #AB2B8B #AB2B4B
triadic
#AB2B8B #8BAB2B #2B8BAB
tetradic
#AB2B8B #AB8B2B #2BAB4B #2B4BAB
square
#AB2B8B #AB8B2B #2BAB4B #2B4BAB
split-complementary
#AB2B8B #4BAB2B #2BAB8B
monochromatic
#49123B #7A1F63 #AB2B8B #D043AD #DC74C2

Accessibility & contrast

On white

6.09
#AB2B8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#AB2B8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2B8B
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2B8B#FFFFFF#000000##FFFFFF
##AB2B8B1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34558E
Deuteranopia (green-blind)
#5E6988
Tritanopia (blue-blind)
#B52F58
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ab2b8b;
/* rgb */ color: rgb(171, 43, 139);
/* oklch */ color: oklch(52.2% 0.191 340.0);
Tailwind
colors: {
  custom: {
    50: '#c871ad',
    500: '#ab2b8b',
    950: '#000000',
  },
}
SCSS
$custom: #ab2b8b;
$custom-light: #c871ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2b8b",
  "rgb": {
    "r": 171,
    "g": 43,
    "b": 139
  },
  "hsl": {
    "h": 315,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52196,
    "c": 0.19085,
    "h": 340
  },
  "luminance": 0.1225
}

Semantic roles & 50–950 ramp

primary
#AB2B8B
secondary
#6EC484
accent
#E36C45
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AB2B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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