#AB3395#AB3395

#AB3395 is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.4% C 0.188 H 336.2°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#AB3395
RGBrgb(171, 51, 149)
HSLhsl(311, 54%, 44%)
HSVhsv(311, 70%, 67%)
CMYKcmyk(0%, 70.2%, 12.9%, 32.9%)
CIE-LABlab(43.06, 58.82, -27.94)
CIE-LCHlch(43.06, 65.12, 334.59°)
OKLaboklab(53.4% 0.1724 -0.0761)
OKLCHoklch(53.4% 0.188 336.2)
XYZxyz(23.4036, 13.1976, 29.7427)
Luminance0.1320 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3395 #33AB49
analogous
#8533AB #AB3395 #AB3359
triadic
#AB3395 #95AB33 #3395AB
tetradic
#AB3395 #AB8533 #33AB49 #3359AB
square
#AB3395 #AB8533 #33AB49 #3359AB
split-complementary
#AB3395 #59AB33 #33AB85
monochromatic
#4D1743 #7C256C #AB3395 #CB50B4 #D97FC9

Accessibility & contrast

On white

5.77
#AB3395 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#AB3395 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3395
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3395#FFFFFF#000000##FFFFFF
##AB33951.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab3395;
/* rgb */ color: rgb(171, 51, 149);
/* oklch */ color: oklch(53.4% 0.188 336.2);
Tailwind
colors: {
  custom: {
    50: '#c775b4',
    500: '#ab3395',
    950: '#000000',
  },
}
SCSS
$custom: #ab3395;
$custom-light: #c775b4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3395",
  "rgb": {
    "r": 171,
    "g": 51,
    "b": 149
  },
  "hsl": {
    "h": 311,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.53396,
    "c": 0.18843,
    "h": 336.2
  },
  "luminance": 0.13196
}

Semantic roles & 50–950 ramp

primary
#AB3395
secondary
#78C285
accent
#DD654A
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AB3395

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

Preview Lab → · Contrast checker → · Palette generator →

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