#AB345C#AB345C

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

Color values

HEX#AB345C
RGBrgb(171, 52, 92)
HSLhsl(340, 53%, 44%)
HSVhsv(340, 70%, 67%)
CMYKcmyk(0%, 69.6%, 46.2%, 32.9%)
CIE-LABlab(41.04, 51.32, 4.17)
CIE-LCHlch(41.04, 51.49, 4.65°)
OKLaboklab(51.21% 0.1568 0.0113)
OKLCHoklch(51.21% 0.157 4.1)
XYZxyz(19.9559, 11.8892, 11.3671)
Luminance0.1189 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB345C #34AB83
analogous
#AB3497 #AB345C #AB4734
triadic
#AB345C #5CAB34 #345CAB
tetradic
#AB345C #97AB34 #34AB83 #4734AB
square
#AB345C #97AB34 #34AB83 #4734AB
split-complementary
#AB345C #34AB47 #3497AB
monochromatic
#4D172A #7C2643 #AB345C #CA527A #D9819E

Accessibility & contrast

On white

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

On black

3.38
#AB345C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AB345C#FFFFFF#000000##FFFFFF
##AB345C1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E525D
Deuteranopia (green-blind)
#6E6959
Tritanopia (blue-blind)
#BA2244
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab345c;
/* rgb */ color: rgb(171, 52, 92);
/* oklch */ color: oklch(51.2% 0.157 4.1);
Tailwind
colors: {
  custom: {
    50: '#c9748a',
    500: '#ab345c',
    950: '#000000',
  },
}
SCSS
$custom: #ab345c;
$custom-light: #c9748a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab345c",
  "rgb": {
    "r": 171,
    "g": 52,
    "b": 92
  },
  "hsl": {
    "h": 339.832,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51211,
    "c": 0.15724,
    "h": 4.1
  },
  "luminance": 0.11887
}

Semantic roles & 50–950 ramp

primary
#AB345C
secondary
#79C2A9
accent
#DDAC4B
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090B
muted
#837B7C

Preview Lab

Preview with #AB345C

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

Preview Lab → · Contrast checker → · Palette generator →

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