#AB345A#AB345A

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

Color values

HEX#AB345A
RGBrgb(171, 52, 90)
HSLhsl(341, 53%, 44%)
HSVhsv(341, 70%, 67%)
CMYKcmyk(0%, 69.6%, 47.4%, 32.9%)
CIE-LABlab(40.98, 51.13, 5.35)
CIE-LCHlch(40.98, 51.41, 5.97°)
OKLaboklab(51.15% 0.1561 0.0142)
OKLCHoklch(51.15% 0.157 5.2)
XYZxyz(19.8696, 11.8546, 10.9127)
Luminance0.1185 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB345A #34AB85
analogous
#AB3495 #AB345A #AB4934
triadic
#AB345A #5AAB34 #345AAB
tetradic
#AB345A #95AB34 #34AB85 #4934AB
square
#AB345A #95AB34 #34AB85 #4934AB
split-complementary
#AB345A #34AB49 #3495AB
monochromatic
#4D1729 #7C2641 #AB345A #CA5278 #D9819D

Accessibility & contrast

On white

6.23
#AB345A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB345A
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB345A#FFFFFF#000000##FFFFFF
##AB345A1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F525B
Deuteranopia (green-blind)
#6E6957
Tritanopia (blue-blind)
#BA2143
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab345a;
/* rgb */ color: rgb(171, 52, 90);
/* oklch */ color: oklch(51.2% 0.157 5.2);
Tailwind
colors: {
  custom: {
    50: '#c97488',
    500: '#ab345a',
    950: '#000000',
  },
}
SCSS
$custom: #ab345a;
$custom-light: #c97488;
$custom-dark: #000000;
JSON
{
  "hex": "#ab345a",
  "rgb": {
    "r": 171,
    "g": 52,
    "b": 90
  },
  "hsl": {
    "h": 340.84,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51152,
    "c": 0.15674,
    "h": 5.2
  },
  "luminance": 0.11852
}

Semantic roles & 50–950 ramp

primary
#AB345A
secondary
#79C2AB
accent
#DDAE4B
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14090B
muted
#837B7C

Preview Lab

Preview with #AB345A

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

Preview Lab → · Contrast checker → · Palette generator →

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