#AB3181#AB3181

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

Color values

HEX#AB3181
RGBrgb(171, 49, 129)
HSLhsl(321, 55%, 43%)
HSVhsv(321, 71%, 67%)
CMYKcmyk(0%, 71.3%, 24.6%, 32.9%)
CIE-LABlab(41.91, 56.71, -17.54)
CIE-LCHlch(41.91, 59.36, 342.81°)
OKLaboklab(52.27% 0.1713 -0.0467)
OKLCHoklch(52.27% 0.178 344.8)
XYZxyz(21.8562, 12.4418, 22.0151)
Luminance0.1244 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3181 #31AB5B
analogous
#9831AB #AB3181 #AB3144
triadic
#AB3181 #81AB31 #3181AB
tetradic
#AB3181 #AB9831 #31AB5B #3144AB
square
#AB3181 #AB9831 #31AB5B #3144AB
split-complementary
#AB3181 #44AB31 #31AB98
monochromatic
#4C1639 #7B235D #AB3181 #CC4DA0 #DA7DBA

Accessibility & contrast

On white

6.02
#AB3181 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB3181
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3181#FFFFFF#000000##FFFFFF
##AB31811.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab3181;
/* rgb */ color: rgb(171, 49, 129);
/* oklch */ color: oklch(52.3% 0.178 344.8);
Tailwind
colors: {
  custom: {
    50: '#c874a5',
    500: '#ab3181',
    950: '#000000',
  },
}
SCSS
$custom: #ab3181;
$custom-light: #c874a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3181",
  "rgb": {
    "r": 171,
    "g": 49,
    "b": 129
  },
  "hsl": {
    "h": 320.656,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52269,
    "c": 0.17757,
    "h": 344.8
  },
  "luminance": 0.1244
}

Semantic roles & 50–950 ramp

primary
#AB3181
secondary
#75C290
accent
#DF7D49
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AB3181

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

Preview Lab → · Contrast checker → · Palette generator →

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