#AB3184#AB3184

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

Color values

HEX#AB3184
RGBrgb(171, 49, 132)
HSLhsl(319, 55%, 43%)
HSVhsv(319, 71%, 67%)
CMYKcmyk(0%, 71.3%, 22.8%, 32.9%)
CIE-LABlab(42.04, 57.12, -19.19)
CIE-LCHlch(42.04, 60.25, 341.43°)
OKLaboklab(52.4% 0.1719 -0.0513)
OKLCHoklch(52.4% 0.179 343.4)
XYZxyz(22.0585, 12.5227, 23.0808)
Luminance0.1252 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3184 #31AB58
analogous
#9531AB #AB3184 #AB3147
triadic
#AB3184 #84AB31 #3184AB
tetradic
#AB3184 #AB9531 #31AB58 #3147AB
square
#AB3184 #AB9531 #31AB58 #3147AB
split-complementary
#AB3184 #47AB31 #31AB95
monochromatic
#4C163B #7B235F #AB3184 #CC4DA3 #DA7DBC

Accessibility & contrast

On white

5.99
#AB3184 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#AB3184 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3184
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3184#FFFFFF#000000##FFFFFF
##AB31841.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5686
Deuteranopia (green-blind)
#626B81
Tritanopia (blue-blind)
#B63156
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab3184;
/* rgb */ color: rgb(171, 49, 132);
/* oklch */ color: oklch(52.4% 0.179 343.4);
Tailwind
colors: {
  custom: {
    50: '#c874a8',
    500: '#ab3184',
    950: '#000000',
  },
}
SCSS
$custom: #ab3184;
$custom-light: #c874a8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3184",
  "rgb": {
    "r": 171,
    "g": 49,
    "b": 132
  },
  "hsl": {
    "h": 319.18,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52402,
    "c": 0.17941,
    "h": 343.4
  },
  "luminance": 0.1252
}

Semantic roles & 50–950 ramp

primary
#AB3184
secondary
#75C28E
accent
#DF7949
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AB3184

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

Preview Lab → · Contrast checker → · Palette generator →

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