#AB2B5B#AB2B5B

#AB2B5B is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.3% C 0.167 H 2.9°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#AB2B5B
RGBrgb(171, 43, 91)
HSLhsl(338, 60%, 42%)
HSVhsv(338, 75%, 67%)
CMYKcmyk(0%, 74.9%, 46.8%, 32.9%)
CIE-LABlab(39.82, 54.53, 3.05)
CIE-LCHlch(39.82, 54.62, 3.20°)
OKLaboklab(50.3% 0.1671 0.0084)
OKLCHoklch(50.3% 0.167 2.9)
XYZxyz(19.5484, 11.1436, 11.0170)
Luminance0.1114 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2B5B #2BAB7B
analogous
#AB2B9B #AB2B5B #AB3B2B
triadic
#AB2B5B #5BAB2B #2B5BAB
tetradic
#AB2B5B #9BAB2B #2BAB7B #3B2BAB
square
#AB2B5B #9BAB2B #2BAB7B #3B2BAB
split-complementary
#AB2B5B #2BAB3B #2B9BAB
monochromatic
#491227 #7A1F41 #AB2B5B #D04378 #DC749B

Accessibility & contrast

On white

6.51
#AB2B5B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#AB2B5B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2B5B
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2B5B#FFFFFF#000000##FFFFFF
##AB2B5B1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494E5C
Deuteranopia (green-blind)
#6B6758
Tritanopia (blue-blind)
#BA123F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab2b5b;
/* rgb */ color: rgb(171, 43, 91);
/* oklch */ color: oklch(50.3% 0.167 2.9);
Tailwind
colors: {
  custom: {
    50: '#c97089',
    500: '#ab2b5b',
    950: '#000000',
  },
}
SCSS
$custom: #ab2b5b;
$custom-light: #c97089;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2b5b",
  "rgb": {
    "r": 171,
    "g": 43,
    "b": 91
  },
  "hsl": {
    "h": 337.5,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50302,
    "c": 0.16727,
    "h": 2.9
  },
  "luminance": 0.11141
}

Semantic roles & 50–950 ramp

primary
#AB2B5B
secondary
#6EC4A4
accent
#E3A845
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AB2B5B

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

Preview Lab → · Contrast checker → · Palette generator →

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