#AB3193#AB3193

#AB3193 is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.1% C 0.189 H 336.9°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#AB3193
RGBrgb(171, 49, 147)
HSLhsl(312, 55%, 43%)
HSVhsv(312, 71%, 67%)
CMYKcmyk(0%, 71.3%, 14%, 32.9%)
CIE-LABlab(42.71, 59.25, -27.28)
CIE-LCHlch(42.71, 65.23, 335.27°)
OKLaboklab(53.11% 0.1743 -0.0742)
OKLCHoklch(53.11% 0.189 336.9)
XYZxyz(23.1598, 12.9632, 28.8805)
Luminance0.1296 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3193 #31AB49
analogous
#8631AB #AB3193 #AB3156
triadic
#AB3193 #93AB31 #3193AB
tetradic
#AB3193 #AB8631 #31AB49 #3156AB
square
#AB3193 #AB8631 #31AB49 #3156AB
split-complementary
#AB3193 #56AB31 #31AB86
monochromatic
#4C1641 #7B236A #AB3193 #CC4DB3 #DA7DC7

Accessibility & contrast

On white

5.85
#AB3193 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#AB3193 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3193
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3193#FFFFFF#000000##FFFFFF
##AB31931.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345996
Deuteranopia (green-blind)
#5D6C90
Tritanopia (blue-blind)
#B4385E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab3193;
/* rgb */ color: rgb(171, 49, 147);
/* oklch */ color: oklch(53.1% 0.189 336.9);
Tailwind
colors: {
  custom: {
    50: '#c874b3',
    500: '#ab3193',
    950: '#000000',
  },
}
SCSS
$custom: #ab3193;
$custom-light: #c874b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3193",
  "rgb": {
    "r": 171,
    "g": 49,
    "b": 147
  },
  "hsl": {
    "h": 311.803,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.5311,
    "c": 0.18942,
    "h": 336.9
  },
  "luminance": 0.12961
}

Semantic roles & 50–950 ramp

primary
#AB3193
secondary
#75C285
accent
#DF6649
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AB3193

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

Preview Lab → · Contrast checker → · Palette generator →

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