#AB3183#AB3183

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

Color values

HEX#AB3183
RGBrgb(171, 49, 131)
HSLhsl(320, 55%, 43%)
HSVhsv(320, 71%, 67%)
CMYKcmyk(0%, 71.3%, 23.4%, 32.9%)
CIE-LABlab(41.99, 56.98, -18.64)
CIE-LCHlch(41.99, 59.95, 341.88°)
OKLaboklab(52.36% 0.1717 -0.0497)
OKLCHoklch(52.36% 0.179 343.8)
XYZxyz(21.9904, 12.4955, 22.7221)
Luminance0.1249 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3183 #31AB59
analogous
#9631AB #AB3183 #AB3146
triadic
#AB3183 #83AB31 #3183AB
tetradic
#AB3183 #AB9631 #31AB59 #3146AB
square
#AB3183 #AB9631 #31AB59 #3146AB
split-complementary
#AB3183 #46AB31 #31AB96
monochromatic
#4C163A #7B235F #AB3183 #CC4DA2 #DA7DBB

Accessibility & contrast

On white

6.00
#AB3183 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB3183
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3183#FFFFFF#000000##FFFFFF
##AB31831.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5685
Deuteranopia (green-blind)
#636A80
Tritanopia (blue-blind)
#B63156
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab3183;
/* rgb */ color: rgb(171, 49, 131);
/* oklch */ color: oklch(52.4% 0.179 343.8);
Tailwind
colors: {
  custom: {
    50: '#c874a7',
    500: '#ab3183',
    950: '#000000',
  },
}
SCSS
$custom: #ab3183;
$custom-light: #c874a7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3183",
  "rgb": {
    "r": 171,
    "g": 49,
    "b": 131
  },
  "hsl": {
    "h": 319.672,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52357,
    "c": 0.17879,
    "h": 343.8
  },
  "luminance": 0.12493
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB3183

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

Preview Lab → · Contrast checker → · Palette generator →

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