#AB3495#AB3495

#AB3495 is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.5% C 0.187 H 336.2°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#AB3495
RGBrgb(171, 52, 149)
HSLhsl(311, 53%, 44%)
HSVhsv(311, 70%, 67%)
CMYKcmyk(0%, 69.6%, 12.9%, 32.9%)
CIE-LABlab(43.19, 58.45, -27.74)
CIE-LCHlch(43.19, 64.70, 334.61°)
OKLaboklab(53.49% 0.1713 -0.0755)
OKLCHoklch(53.49% 0.187 336.2)
XYZxyz(23.4477, 13.2859, 29.7575)
Luminance0.1328 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3495 #34AB4A
analogous
#8534AB #AB3495 #AB3459
triadic
#AB3495 #95AB34 #3495AB
tetradic
#AB3495 #AB8534 #34AB4A #3459AB
square
#AB3495 #AB8534 #34AB4A #3459AB
split-complementary
#AB3495 #59AB34 #34AB85
monochromatic
#4D1743 #7C266C #AB3495 #CA52B4 #D981C8

Accessibility & contrast

On white

5.74
#AB3495 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#AB3495 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3495
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3495#FFFFFF#000000##FFFFFF
##AB34951.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365B98
Deuteranopia (green-blind)
#5D6C92
Tritanopia (blue-blind)
#B43B60
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ab3495;
/* rgb */ color: rgb(171, 52, 149);
/* oklch */ color: oklch(53.5% 0.187 336.2);
Tailwind
colors: {
  custom: {
    50: '#c776b4',
    500: '#ab3495',
    950: '#000000',
  },
}
SCSS
$custom: #ab3495;
$custom-light: #c776b4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3495",
  "rgb": {
    "r": 171,
    "g": 52,
    "b": 149
  },
  "hsl": {
    "h": 311.092,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53491,
    "c": 0.18719,
    "h": 336.2
  },
  "luminance": 0.13284
}

Semantic roles & 50–950 ramp

primary
#AB3495
secondary
#79C286
accent
#DD664B
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#130911
muted
#827B80

Preview Lab

Preview with #AB3495

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

Preview Lab → · Contrast checker → · Palette generator →

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