#AB3185#AB3185

#AB3185 is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.4% C 0.180 H 342.9°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#AB3185
RGBrgb(171, 49, 133)
HSLhsl(319, 55%, 43%)
HSVhsv(319, 71%, 67%)
CMYKcmyk(0%, 71.3%, 22.2%, 32.9%)
CIE-LABlab(42.08, 57.25, -19.74)
CIE-LCHlch(42.08, 60.56, 340.98°)
OKLaboklab(52.45% 0.1721 -0.0528)
OKLCHoklch(52.45% 0.18 342.9)
XYZxyz(22.1273, 12.5502, 23.4429)
Luminance0.1255 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3185 #31AB57
analogous
#9431AB #AB3185 #AB3148
triadic
#AB3185 #85AB31 #3185AB
tetradic
#AB3185 #AB9431 #31AB57 #3148AB
square
#AB3185 #AB9431 #31AB57 #3148AB
split-complementary
#AB3185 #48AB31 #31AB94
monochromatic
#4C163B #7B2360 #AB3185 #CC4DA5 #DA7DBD

Accessibility & contrast

On white

5.98
#AB3185 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#AB3185 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3185
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3185#FFFFFF#000000##FFFFFF
##AB31851.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5687
Deuteranopia (green-blind)
#626B82
Tritanopia (blue-blind)
#B63157
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab3185;
/* rgb */ color: rgb(171, 49, 133);
/* oklch */ color: oklch(52.4% 0.180 342.9);
Tailwind
colors: {
  custom: {
    50: '#c874a8',
    500: '#ab3185',
    950: '#000000',
  },
}
SCSS
$custom: #ab3185;
$custom-light: #c874a8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3185",
  "rgb": {
    "r": 171,
    "g": 49,
    "b": 133
  },
  "hsl": {
    "h": 318.689,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52447,
    "c": 0.18004,
    "h": 342.9
  },
  "luminance": 0.12548
}

Semantic roles & 50–950 ramp

primary
#AB3185
secondary
#75C28D
accent
#DF7849
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AB3185

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

Preview Lab → · Contrast checker → · Palette generator →

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