#AB3874#AB3874

#AB3874 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.5% C 0.161 H 351.9°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#AB3874
RGBrgb(171, 56, 116)
HSLhsl(329, 51%, 45%)
HSVhsv(329, 67%, 67%)
CMYKcmyk(0%, 67.3%, 32.2%, 32.9%)
CIE-LABlab(42.38, 52.35, -8.81)
CIE-LCHlch(42.38, 53.08, 350.45°)
OKLaboklab(52.45% 0.1597 -0.0227)
OKLCHoklch(52.45% 0.161 351.9)
XYZxyz(21.3623, 12.7496, 17.8555)
Luminance0.1275 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3874 #38AB6F
analogous
#A938AB #AB3874 #AB383A
triadic
#AB3874 #74AB38 #3874AB
tetradic
#AB3874 #ABA938 #38AB6F #383AAB
square
#AB3874 #ABA938 #38AB6F #383AAB
split-complementary
#AB3874 #3AAB38 #38ABA9
monochromatic
#4F1A35 #7D2955 #AB3874 #C85893 #D786B0

Accessibility & contrast

On white

5.92
#AB3874 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#AB3874 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3874
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3874#FFFFFF#000000##FFFFFF
##AB38741.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5776
Deuteranopia (green-blind)
#6A6C71
Tritanopia (blue-blind)
#B83151
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab3874;
/* rgb */ color: rgb(171, 56, 116);
/* oklch */ color: oklch(52.5% 0.161 351.9);
Tailwind
colors: {
  custom: {
    50: '#c8779c',
    500: '#ab3874',
    950: '#000000',
  },
}
SCSS
$custom: #ab3874;
$custom-light: #c8779c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3874",
  "rgb": {
    "r": 171,
    "g": 56,
    "b": 116
  },
  "hsl": {
    "h": 328.696,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52453,
    "c": 0.1613,
    "h": 351.9
  },
  "luminance": 0.12747
}

Semantic roles & 50–950 ramp

primary
#AB3874
secondary
#7DC19E
accent
#DA914E
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AB3874

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

Preview Lab → · Contrast checker → · Palette generator →

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