#AB3180#AB3180

#AB3180 is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.2% C 0.177 H 345.2°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#AB3180
RGBrgb(171, 49, 128)
HSLhsl(321, 55%, 43%)
HSVhsv(321, 71%, 67%)
CMYKcmyk(0%, 71.3%, 25.1%, 32.9%)
CIE-LABlab(41.87, 56.58, -16.99)
CIE-LCHlch(41.87, 59.08, 343.29°)
OKLaboklab(52.23% 0.1711 -0.0451)
OKLCHoklch(52.23% 0.177 345.2)
XYZxyz(21.7901, 12.4153, 21.6667)
Luminance0.1241 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3180 #31AB5C
analogous
#9931AB #AB3180 #AB3143
triadic
#AB3180 #80AB31 #3180AB
tetradic
#AB3180 #AB9931 #31AB5C #3143AB
square
#AB3180 #AB9931 #31AB5C #3143AB
split-complementary
#AB3180 #43AB31 #31AB99
monochromatic
#4C1639 #7B235C #AB3180 #CC4D9F #DA7DB9

Accessibility & contrast

On white

6.03
#AB3180 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#AB3180 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3180
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3180#FFFFFF#000000##FFFFFF
##AB31801.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5682
Deuteranopia (green-blind)
#646A7D
Tritanopia (blue-blind)
#B62F54
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab3180;
/* rgb */ color: rgb(171, 49, 128);
/* oklch */ color: oklch(52.2% 0.177 345.2);
Tailwind
colors: {
  custom: {
    50: '#c874a5',
    500: '#ab3180',
    950: '#000000',
  },
}
SCSS
$custom: #ab3180;
$custom-light: #c874a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3180",
  "rgb": {
    "r": 171,
    "g": 49,
    "b": 128
  },
  "hsl": {
    "h": 321.148,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52226,
    "c": 0.17696,
    "h": 345.2
  },
  "luminance": 0.12413
}

Semantic roles & 50–950 ramp

primary
#AB3180
secondary
#75C291
accent
#DF7E49
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AB3180

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

Preview Lab → · Contrast checker → · Palette generator →

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