#AB3774#AB3774

#AB3774 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.3% C 0.163 H 351.8°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#AB3774
RGBrgb(171, 55, 116)
HSLhsl(328, 51%, 44%)
HSVhsv(328, 68%, 67%)
CMYKcmyk(0%, 67.8%, 32.2%, 32.9%)
CIE-LABlab(42.24, 52.75, -9.03)
CIE-LCHlch(42.24, 53.52, 350.29°)
OKLaboklab(52.35% 0.161 -0.0233)
OKLCHoklch(52.35% 0.163 351.8)
XYZxyz(21.3143, 12.6536, 17.8395)
Luminance0.1265 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3774 #37AB6E
analogous
#A837AB #AB3774 #AB373A
triadic
#AB3774 #74AB37 #3774AB
tetradic
#AB3774 #ABA837 #37AB6E #373AAB
square
#AB3774 #ABA837 #37AB6E #373AAB
split-complementary
#AB3774 #3AAB37 #37ABA8
monochromatic
#4E1935 #7D2855 #AB3774 #C95693 #D885B0

Accessibility & contrast

On white

5.95
#AB3774 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#AB3774 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3774
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3774#FFFFFF#000000##FFFFFF
##AB37741.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495676
Deuteranopia (green-blind)
#696B71
Tritanopia (blue-blind)
#B83051
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab3774;
/* rgb */ color: rgb(171, 55, 116);
/* oklch */ color: oklch(52.3% 0.163 351.8);
Tailwind
colors: {
  custom: {
    50: '#c8769c',
    500: '#ab3774',
    950: '#000000',
  },
}
SCSS
$custom: #ab3774;
$custom-light: #c8769c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3774",
  "rgb": {
    "r": 171,
    "g": 55,
    "b": 116
  },
  "hsl": {
    "h": 328.448,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52345,
    "c": 0.16263,
    "h": 351.8
  },
  "luminance": 0.12651
}

Semantic roles & 50–950 ramp

primary
#AB3774
secondary
#7CC19D
accent
#DB904D
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AB3774

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

Preview Lab → · Contrast checker → · Palette generator →

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