#AB377D#AB377D

#AB377D is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.7% C 0.168 H 347.2°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#AB377D
RGBrgb(171, 55, 125)
HSLhsl(324, 51%, 44%)
HSVhsv(324, 68%, 67%)
CMYKcmyk(0%, 67.8%, 26.9%, 32.9%)
CIE-LABlab(42.57, 53.89, -14.07)
CIE-LCHlch(42.57, 55.70, 345.37°)
OKLaboklab(52.7% 0.1634 -0.0371)
OKLCHoklch(52.7% 0.168 347.2)
XYZxyz(21.8634, 12.8732, 20.7314)
Luminance0.1287 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB377D #37AB65
analogous
#9F37AB #AB377D #AB3743
triadic
#AB377D #7DAB37 #377DAB
tetradic
#AB377D #AB9F37 #37AB65 #3743AB
square
#AB377D #AB9F37 #37AB65 #3743AB
split-complementary
#AB377D #43AB37 #37AB9F
monochromatic
#4E1939 #7D285B #AB377D #C9569B #D885B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB377D#FFFFFF#000000##FFFFFF
##AB377D1.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)
#45587F
Deuteranopia (green-blind)
#676C7A
Tritanopia (blue-blind)
#B73455
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab377d;
/* rgb */ color: rgb(171, 55, 125);
/* oklch */ color: oklch(52.7% 0.168 347.2);
Tailwind
colors: {
  custom: {
    50: '#c876a2',
    500: '#ab377d',
    950: '#000000',
  },
}
SCSS
$custom: #ab377d;
$custom-light: #c876a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab377d",
  "rgb": {
    "r": 171,
    "g": 55,
    "b": 125
  },
  "hsl": {
    "h": 323.793,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52701,
    "c": 0.16751,
    "h": 347.2
  },
  "luminance": 0.12871
}

Semantic roles & 50–950 ramp

primary
#AB377D
secondary
#7CC198
accent
#DB854D
background
#FCF7FA
surface
#F9EEF3
border
#D2C9CD
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AB377D

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

Preview Lab → · Contrast checker → · Palette generator →

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