#AB377A#AB377A

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

Color values

HEX#AB377A
RGBrgb(171, 55, 122)
HSLhsl(325, 51%, 44%)
HSVhsv(325, 68%, 67%)
CMYKcmyk(0%, 67.8%, 28.7%, 32.9%)
CIE-LABlab(42.46, 53.50, -12.40)
CIE-LCHlch(42.46, 54.92, 346.95°)
OKLaboklab(52.58% 0.1626 -0.0325)
OKLCHoklch(52.58% 0.166 348.7)
XYZxyz(21.6746, 12.7977, 19.7373)
Luminance0.1280 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB377A #37AB68
analogous
#A237AB #AB377A #AB3740
triadic
#AB377A #7AAB37 #377AAB
tetradic
#AB377A #ABA237 #37AB68 #3740AB
square
#AB377A #ABA237 #37AB68 #3740AB
split-complementary
#AB377A #40AB37 #37ABA2
monochromatic
#4E1938 #7D2859 #AB377A #C95698 #D885B5

Accessibility & contrast

On white

5.90
#AB377A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#AB377A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB377A
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB377A#FFFFFF#000000##FFFFFF
##AB377A1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47577C
Deuteranopia (green-blind)
#686C77
Tritanopia (blue-blind)
#B73253
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab377a;
/* rgb */ color: rgb(171, 55, 122);
/* oklch */ color: oklch(52.6% 0.166 348.7);
Tailwind
colors: {
  custom: {
    50: '#c876a0',
    500: '#ab377a',
    950: '#000000',
  },
}
SCSS
$custom: #ab377a;
$custom-light: #c876a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab377a",
  "rgb": {
    "r": 171,
    "g": 55,
    "b": 122
  },
  "hsl": {
    "h": 325.345,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52579,
    "c": 0.16581,
    "h": 348.7
  },
  "luminance": 0.12795
}

Semantic roles & 50–950 ramp

primary
#AB377A
secondary
#7CC19A
accent
#DB894D
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AB377A

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

Preview Lab → · Contrast checker → · Palette generator →

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