#AB3177#AB3177

#AB3177 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.9% C 0.172 H 349.5°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#AB3177
RGBrgb(171, 49, 119)
HSLhsl(326, 55%, 43%)
HSVhsv(326, 71%, 67%)
CMYKcmyk(0%, 71.3%, 30.4%, 32.9%)
CIE-LABlab(41.51, 55.43, -11.98)
CIE-LCHlch(41.51, 56.71, 347.81°)
OKLaboklab(51.85% 0.169 -0.0313)
OKLCHoklch(51.85% 0.172 349.5)
XYZxyz(21.2237, 12.1888, 18.6842)
Luminance0.1219 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3177 #31AB65
analogous
#A231AB #AB3177 #AB313A
triadic
#AB3177 #77AB31 #3177AB
tetradic
#AB3177 #ABA231 #31AB65 #313AAB
square
#AB3177 #ABA231 #31AB65 #313AAB
split-complementary
#AB3177 #3AAB31 #31ABA2
monochromatic
#4C1635 #7B2356 #AB3177 #CC4D96 #DA7DB2

Accessibility & contrast

On white

6.11
#AB3177 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#AB3177 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3177
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3177#FFFFFF#000000##FFFFFF
##AB31771.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435479
Deuteranopia (green-blind)
#666A74
Tritanopia (blue-blind)
#B72B50
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ab3177;
/* rgb */ color: rgb(171, 49, 119);
/* oklch */ color: oklch(51.9% 0.172 349.5);
Tailwind
colors: {
  custom: {
    50: '#c8739e',
    500: '#ab3177',
    950: '#000000',
  },
}
SCSS
$custom: #ab3177;
$custom-light: #c8739e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3177",
  "rgb": {
    "r": 171,
    "g": 49,
    "b": 119
  },
  "hsl": {
    "h": 325.574,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51851,
    "c": 0.17186,
    "h": 349.5
  },
  "luminance": 0.12186
}

Semantic roles & 50–950 ramp

primary
#AB3177
secondary
#75C296
accent
#DF8949
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AB3177

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

Preview Lab → · Contrast checker → · Palette generator →

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