#AB2B8F#AB2B8F

#AB2B8F is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.4% C 0.194 H 338.4°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#AB2B8F
RGBrgb(171, 43, 143)
HSLhsl(313, 60%, 42%)
HSVhsv(313, 75%, 67%)
CMYKcmyk(0%, 74.9%, 16.4%, 32.9%)
CIE-LABlab(41.80, 60.70, -26.27)
CIE-LCHlch(41.80, 66.14, 336.60°)
OKLaboklab(52.39% 0.1799 -0.0712)
OKLCHoklch(52.39% 0.194 338.4)
XYZxyz(22.6169, 12.3710, 27.1780)
Luminance0.1237 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2B8F #2BAB47
analogous
#872BAB #AB2B8F #AB2B4F
triadic
#AB2B8F #8FAB2B #2B8FAB
tetradic
#AB2B8F #AB872B #2BAB47 #2B4FAB
square
#AB2B8F #AB872B #2BAB47 #2B4FAB
split-complementary
#AB2B8F #4FAB2B #2BAB87
monochromatic
#49123D #7A1F66 #AB2B8F #D043B1 #DC74C5

Accessibility & contrast

On white

6.05
#AB2B8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#AB2B8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2B8F
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2B8F#FFFFFF#000000##FFFFFF
##AB2B8F1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315692
Deuteranopia (green-blind)
#5C6A8C
Tritanopia (blue-blind)
#B5315A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab2b8f;
/* rgb */ color: rgb(171, 43, 143);
/* oklch */ color: oklch(52.4% 0.194 338.4);
Tailwind
colors: {
  custom: {
    50: '#c872b0',
    500: '#ab2b8f',
    950: '#000000',
  },
}
SCSS
$custom: #ab2b8f;
$custom-light: #c872b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2b8f",
  "rgb": {
    "r": 171,
    "g": 43,
    "b": 143
  },
  "hsl": {
    "h": 313.125,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52392,
    "c": 0.19351,
    "h": 338.4
  },
  "luminance": 0.12369
}

Semantic roles & 50–950 ramp

primary
#AB2B8F
secondary
#6EC481
accent
#E36745
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AB2B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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