#AB345B#AB345B

#AB345B is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.2% C 0.157 H 4.7°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#AB345B
RGBrgb(171, 52, 91)
HSLhsl(340, 53%, 44%)
HSVhsv(340, 70%, 67%)
CMYKcmyk(0%, 69.6%, 46.8%, 32.9%)
CIE-LABlab(41.01, 51.22, 4.76)
CIE-LCHlch(41.01, 51.44, 5.31°)
OKLaboklab(51.18% 0.1565 0.0127)
OKLCHoklch(51.18% 0.157 4.7)
XYZxyz(19.9125, 11.8718, 11.1384)
Luminance0.1187 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB345B #34AB84
analogous
#AB3496 #AB345B #AB4834
triadic
#AB345B #5BAB34 #345BAB
tetradic
#AB345B #96AB34 #34AB84 #4834AB
square
#AB345B #96AB34 #34AB84 #4834AB
split-complementary
#AB345B #34AB48 #3496AB
monochromatic
#4D1729 #7C2642 #AB345B #CA5279 #D9819E

Accessibility & contrast

On white

6.22
#AB345B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#AB345B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB345B
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB345B#FFFFFF#000000##FFFFFF
##AB345B1.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E525C
Deuteranopia (green-blind)
#6E6958
Tritanopia (blue-blind)
#BA2144
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab345b;
/* rgb */ color: rgb(171, 52, 91);
/* oklch */ color: oklch(51.2% 0.157 4.7);
Tailwind
colors: {
  custom: {
    50: '#c97489',
    500: '#ab345b',
    950: '#000000',
  },
}
SCSS
$custom: #ab345b;
$custom-light: #c97489;
$custom-dark: #000000;
JSON
{
  "hex": "#ab345b",
  "rgb": {
    "r": 171,
    "g": 52,
    "b": 91
  },
  "hsl": {
    "h": 340.336,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51181,
    "c": 0.15699,
    "h": 4.7
  },
  "luminance": 0.11869
}

Semantic roles & 50–950 ramp

primary
#AB345B
secondary
#79C2AA
accent
#DDAD4B
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090B
muted
#837B7C

Preview Lab

Preview with #AB345B

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

Preview Lab → · Contrast checker → · Palette generator →

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