#AB345E#AB345E

#AB345E is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.3% C 0.158 H 3.0°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#AB345E
RGBrgb(171, 52, 94)
HSLhsl(339, 53%, 44%)
HSVhsv(339, 70%, 67%)
CMYKcmyk(0%, 69.6%, 45%, 32.9%)
CIE-LABlab(41.10, 51.51, 3.00)
CIE-LCHlch(41.10, 51.60, 3.33°)
OKLaboklab(51.27% 0.1576 0.0083)
OKLCHoklch(51.27% 0.158 3)
XYZxyz(20.0445, 11.9246, 11.8336)
Luminance0.1192 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB345E #34AB81
analogous
#AB3499 #AB345E #AB4634
triadic
#AB345E #5EAB34 #345EAB
tetradic
#AB345E #99AB34 #34AB81 #4634AB
square
#AB345E #99AB34 #34AB81 #4634AB
split-complementary
#AB345E #34AB46 #3499AB
monochromatic
#4D172A #7C2644 #AB345E #CA527C #D981A0

Accessibility & contrast

On white

6.20
#AB345E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB345E
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB345E#FFFFFF#000000##FFFFFF
##AB345E1.006.203.386.20
#FFFFFF6.201.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E525F
Deuteranopia (green-blind)
#6D695B
Tritanopia (blue-blind)
#BA2345
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab345e;
/* rgb */ color: rgb(171, 52, 94);
/* oklch */ color: oklch(51.3% 0.158 3.0);
Tailwind
colors: {
  custom: {
    50: '#c9748b',
    500: '#ab345e',
    950: '#000000',
  },
}
SCSS
$custom: #ab345e;
$custom-light: #c9748b;
$custom-dark: #000000;
JSON
{
  "hex": "#ab345e",
  "rgb": {
    "r": 171,
    "g": 52,
    "b": 94
  },
  "hsl": {
    "h": 338.824,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51271,
    "c": 0.15779,
    "h": 3
  },
  "luminance": 0.11922
}

Semantic roles & 50–950 ramp

primary
#AB345E
secondary
#79C2A8
accent
#DDA94B
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090C
muted
#837B7D

Preview Lab

Preview with #AB345E

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

Preview Lab → · Contrast checker → · Palette generator →

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