#AB377C#AB377C

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

Color values

HEX#AB377C
RGBrgb(171, 55, 124)
HSLhsl(324, 51%, 44%)
HSVhsv(324, 68%, 67%)
CMYKcmyk(0%, 67.8%, 27.5%, 32.9%)
CIE-LABlab(42.53, 53.76, -13.52)
CIE-LCHlch(42.53, 55.44, 345.89°)
OKLaboklab(52.66% 0.1631 -0.0356)
OKLCHoklch(52.66% 0.167 347.7)
XYZxyz(21.7998, 12.8478, 20.3967)
Luminance0.1285 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB377C #37AB66
analogous
#A037AB #AB377C #AB3742
triadic
#AB377C #7CAB37 #377CAB
tetradic
#AB377C #ABA037 #37AB66 #3742AB
square
#AB377C #ABA037 #37AB66 #3742AB
split-complementary
#AB377C #42AB37 #37ABA0
monochromatic
#4E1939 #7D285A #AB377C #C9569A #D885B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB377C#FFFFFF#000000##FFFFFF
##AB377C1.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)
#46587E
Deuteranopia (green-blind)
#676C79
Tritanopia (blue-blind)
#B73354
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab377c;
/* rgb */ color: rgb(171, 55, 124);
/* oklch */ color: oklch(52.7% 0.167 347.7);
Tailwind
colors: {
  custom: {
    50: '#c876a2',
    500: '#ab377c',
    950: '#000000',
  },
}
SCSS
$custom: #ab377c;
$custom-light: #c876a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab377c",
  "rgb": {
    "r": 171,
    "g": 55,
    "b": 124
  },
  "hsl": {
    "h": 324.31,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5266,
    "c": 0.16694,
    "h": 347.7
  },
  "luminance": 0.12846
}

Semantic roles & 50–950 ramp

primary
#AB377C
secondary
#7CC198
accent
#DB864D
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#14090F
muted
#827B7E

Preview Lab

Preview with #AB377C

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

Preview Lab → · Contrast checker → · Palette generator →

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