#AB3876#AB3876

#AB3876 is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.5% C 0.162 H 350.9°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#AB3876
RGBrgb(171, 56, 118)
HSLhsl(328, 51%, 45%)
HSVhsv(328, 67%, 67%)
CMYKcmyk(0%, 67.3%, 31%, 32.9%)
CIE-LABlab(42.46, 52.59, -9.94)
CIE-LCHlch(42.46, 53.52, 349.30°)
OKLaboklab(52.53% 0.1603 -0.0258)
OKLCHoklch(52.53% 0.162 350.9)
XYZxyz(21.4798, 12.7966, 18.4748)
Luminance0.1279 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3876 #38AB6D
analogous
#A738AB #AB3876 #AB383D
triadic
#AB3876 #76AB38 #3876AB
tetradic
#AB3876 #ABA738 #38AB6D #383DAB
square
#AB3876 #ABA738 #38AB6D #383DAB
split-complementary
#AB3876 #3DAB38 #38ABA7
monochromatic
#4F1A36 #7D2956 #AB3876 #C85894 #D786B2

Accessibility & contrast

On white

5.90
#AB3876 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#AB3876 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3876
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3876#FFFFFF#000000##FFFFFF
##AB38761.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495778
Deuteranopia (green-blind)
#696C73
Tritanopia (blue-blind)
#B73252
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab3876;
/* rgb */ color: rgb(171, 56, 118);
/* oklch */ color: oklch(52.5% 0.162 350.9);
Tailwind
colors: {
  custom: {
    50: '#c8779d',
    500: '#ab3876',
    950: '#000000',
  },
}
SCSS
$custom: #ab3876;
$custom-light: #c8779d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3876",
  "rgb": {
    "r": 171,
    "g": 56,
    "b": 118
  },
  "hsl": {
    "h": 327.652,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5253,
    "c": 0.16231,
    "h": 350.9
  },
  "luminance": 0.12794
}

Semantic roles & 50–950 ramp

primary
#AB3876
secondary
#7DC19D
accent
#DA8E4E
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AB3876

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

Preview Lab → · Contrast checker → · Palette generator →

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