#AB3182#AB3182

#AB3182 is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.3% C 0.178 H 344.3°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#AB3182
RGBrgb(171, 49, 130)
HSLhsl(320, 55%, 43%)
HSVhsv(320, 71%, 67%)
CMYKcmyk(0%, 71.3%, 24%, 32.9%)
CIE-LABlab(41.95, 56.85, -18.09)
CIE-LCHlch(41.95, 59.66, 342.35°)
OKLaboklab(52.31% 0.1715 -0.0482)
OKLCHoklch(52.31% 0.178 344.3)
XYZxyz(21.9230, 12.4685, 22.3669)
Luminance0.1247 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3182 #31AB5A
analogous
#9731AB #AB3182 #AB3145
triadic
#AB3182 #82AB31 #3182AB
tetradic
#AB3182 #AB9731 #31AB5A #3145AB
square
#AB3182 #AB9731 #31AB5A #3145AB
split-complementary
#AB3182 #45AB31 #31AB97
monochromatic
#4C163A #7B235E #AB3182 #CC4DA1 #DA7DBA

Accessibility & contrast

On white

6.01
#AB3182 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#AB3182 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3182
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3182#FFFFFF#000000##FFFFFF
##AB31821.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5684
Deuteranopia (green-blind)
#636A7F
Tritanopia (blue-blind)
#B63055
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab3182;
/* rgb */ color: rgb(171, 49, 130);
/* oklch */ color: oklch(52.3% 0.178 344.3);
Tailwind
colors: {
  custom: {
    50: '#c874a6',
    500: '#ab3182',
    950: '#000000',
  },
}
SCSS
$custom: #ab3182;
$custom-light: #c874a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3182",
  "rgb": {
    "r": 171,
    "g": 49,
    "b": 130
  },
  "hsl": {
    "h": 320.164,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52313,
    "c": 0.17818,
    "h": 344.3
  },
  "luminance": 0.12466
}

Semantic roles & 50–950 ramp

primary
#AB3182
secondary
#75C28F
accent
#DF7B49
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AB3182

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

Preview Lab → · Contrast checker → · Palette generator →

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