#AB345F#AB345F

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

Color values

HEX#AB345F
RGBrgb(171, 52, 95)
HSLhsl(338, 53%, 44%)
HSVhsv(338, 70%, 67%)
CMYKcmyk(0%, 69.6%, 44.4%, 32.9%)
CIE-LABlab(41.12, 51.61, 2.41)
CIE-LCHlch(41.12, 51.67, 2.68°)
OKLaboklab(51.3% 0.1579 0.0068)
OKLCHoklch(51.3% 0.158 2.5)
XYZxyz(20.0896, 11.9427, 12.0715)
Luminance0.1194 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB345F #34AB80
analogous
#AB349A #AB345F #AB4434
triadic
#AB345F #5FAB34 #345FAB
tetradic
#AB345F #9AAB34 #34AB80 #4434AB
square
#AB345F #9AAB34 #34AB80 #4434AB
split-complementary
#AB345F #34AB44 #349AAB
monochromatic
#4D172B #7C2645 #AB345F #CA527D #D981A1

Accessibility & contrast

On white

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

On black

3.39
#AB345F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AB345F#FFFFFF#000000##FFFFFF
##AB345F1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5260
Deuteranopia (green-blind)
#6D695C
Tritanopia (blue-blind)
#BA2346
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab345f;
/* rgb */ color: rgb(171, 52, 95);
/* oklch */ color: oklch(51.3% 0.158 2.5);
Tailwind
colors: {
  custom: {
    50: '#c9748c',
    500: '#ab345f',
    950: '#000000',
  },
}
SCSS
$custom: #ab345f;
$custom-light: #c9748c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab345f",
  "rgb": {
    "r": 171,
    "g": 52,
    "b": 95
  },
  "hsl": {
    "h": 338.319,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51302,
    "c": 0.15808,
    "h": 2.5
  },
  "luminance": 0.1194
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB345F

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

Preview Lab → · Contrast checker → · Palette generator →

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