#AB348E#AB348E

#AB348E is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.1% C 0.182 H 339.1°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#AB348E
RGBrgb(171, 52, 142)
HSLhsl(315, 53%, 44%)
HSVhsv(315, 70%, 67%)
CMYKcmyk(0%, 69.6%, 17%, 32.9%)
CIE-LABlab(42.87, 57.41, -24.00)
CIE-LCHlch(42.87, 62.23, 337.31°)
OKLaboklab(53.15% 0.1703 -0.0649)
OKLCHoklch(53.15% 0.182 339.1)
XYZxyz(22.9056, 13.0690, 26.9022)
Luminance0.1307 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB348E #34AB51
analogous
#8C34AB #AB348E #AB3452
triadic
#AB348E #8EAB34 #348EAB
tetradic
#AB348E #AB8C34 #34AB51 #3452AB
square
#AB348E #AB8C34 #34AB51 #3452AB
split-complementary
#AB348E #52AB34 #34AB8C
monochromatic
#4D1740 #7C2667 #AB348E #CA52AD #D981C3

Accessibility & contrast

On white

5.81
#AB348E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#AB348E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB348E
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB348E#FFFFFF#000000##FFFFFF
##AB348E1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5991
Deuteranopia (green-blind)
#606C8B
Tritanopia (blue-blind)
#B5385C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab348e;
/* rgb */ color: rgb(171, 52, 142);
/* oklch */ color: oklch(53.1% 0.182 339.1);
Tailwind
colors: {
  custom: {
    50: '#c775af',
    500: '#ab348e',
    950: '#000000',
  },
}
SCSS
$custom: #ab348e;
$custom-light: #c775af;
$custom-dark: #000000;
JSON
{
  "hex": "#ab348e",
  "rgb": {
    "r": 171,
    "g": 52,
    "b": 142
  },
  "hsl": {
    "h": 314.622,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5315,
    "c": 0.18226,
    "h": 339.1
  },
  "luminance": 0.13067
}

Semantic roles & 50–950 ramp

primary
#AB348E
secondary
#79C28B
accent
#DD6F4B
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AB348E

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

Preview Lab → · Contrast checker → · Palette generator →

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