#AB3878#AB3878

#AB3878 is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.6% C 0.163 H 349.8°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#AB3878
RGBrgb(171, 56, 120)
HSLhsl(327, 51%, 45%)
HSVhsv(327, 67%, 67%)
CMYKcmyk(0%, 67.3%, 29.8%, 32.9%)
CIE-LABlab(42.53, 52.85, -11.06)
CIE-LCHlch(42.53, 53.99, 348.18°)
OKLaboklab(52.61% 0.1608 -0.0289)
OKLCHoklch(52.61% 0.163 349.8)
XYZxyz(21.6000, 12.8446, 19.1074)
Luminance0.1284 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3878 #38AB6B
analogous
#A538AB #AB3878 #AB383E
triadic
#AB3878 #78AB38 #3878AB
tetradic
#AB3878 #ABA538 #38AB6B #383EAB
square
#AB3878 #ABA538 #38AB6B #383EAB
split-complementary
#AB3878 #3EAB38 #38ABA5
monochromatic
#4F1A37 #7D2958 #AB3878 #C85896 #D786B3

Accessibility & contrast

On white

5.88
#AB3878 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#AB3878 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3878
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3878#FFFFFF#000000##FFFFFF
##AB38781.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48577A
Deuteranopia (green-blind)
#696C75
Tritanopia (blue-blind)
#B73353
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab3878;
/* rgb */ color: rgb(171, 56, 120);
/* oklch */ color: oklch(52.6% 0.163 349.8);
Tailwind
colors: {
  custom: {
    50: '#c8779f',
    500: '#ab3878',
    950: '#000000',
  },
}
SCSS
$custom: #ab3878;
$custom-light: #c8779f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3878",
  "rgb": {
    "r": 171,
    "g": 56,
    "b": 120
  },
  "hsl": {
    "h": 326.609,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52607,
    "c": 0.16338,
    "h": 349.8
  },
  "luminance": 0.12842
}

Semantic roles & 50–950 ramp

primary
#AB3878
secondary
#7DC19C
accent
#DA8C4E
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AB3878

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

Preview Lab → · Contrast checker → · Palette generator →

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