#AB2B5E#AB2B5E

#AB2B5E is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.4% C 0.168 H 1.3°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#AB2B5E
RGBrgb(171, 43, 94)
HSLhsl(336, 60%, 42%)
HSVhsv(336, 75%, 67%)
CMYKcmyk(0%, 74.9%, 45%, 32.9%)
CIE-LABlab(39.91, 54.81, 1.28)
CIE-LCHlch(39.91, 54.83, 1.34°)
OKLaboklab(50.4% 0.1681 0.0039)
OKLCHoklch(50.4% 0.168 1.3)
XYZxyz(19.6804, 11.1964, 11.7123)
Luminance0.1119 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2B5E #2BAB78
analogous
#AB2B9E #AB2B5E #AB382B
triadic
#AB2B5E #5EAB2B #2B5EAB
tetradic
#AB2B5E #9EAB2B #2BAB78 #382BAB
square
#AB2B5E #9EAB2B #2BAB78 #382BAB
split-complementary
#AB2B5E #2BAB38 #2B9EAB
monochromatic
#491228 #7A1F43 #AB2B5E #D0437B #DC749E

Accessibility & contrast

On white

6.48
#AB2B5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#AB2B5E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2B5E
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2B5E#FFFFFF#000000##FFFFFF
##AB2B5E1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484E5F
Deuteranopia (green-blind)
#6A675B
Tritanopia (blue-blind)
#BA1441
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab2b5e;
/* rgb */ color: rgb(171, 43, 94);
/* oklch */ color: oklch(50.4% 0.168 1.3);
Tailwind
colors: {
  custom: {
    50: '#c9708b',
    500: '#ab2b5e',
    950: '#000000',
  },
}
SCSS
$custom: #ab2b5e;
$custom-light: #c9708b;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2b5e",
  "rgb": {
    "r": 171,
    "g": 43,
    "b": 94
  },
  "hsl": {
    "h": 336.094,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50395,
    "c": 0.16817,
    "h": 1.3
  },
  "luminance": 0.11194
}

Semantic roles & 50–950 ramp

primary
#AB2B5E
secondary
#6EC4A2
accent
#E3A445
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AB2B5E

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

Preview Lab → · Contrast checker → · Palette generator →

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