#AB377E#AB377E

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

Color values

HEX#AB377E
RGBrgb(171, 55, 126)
HSLhsl(323, 51%, 44%)
HSVhsv(323, 68%, 67%)
CMYKcmyk(0%, 67.8%, 26.3%, 32.9%)
CIE-LABlab(42.61, 54.03, -14.63)
CIE-LCHlch(42.61, 55.97, 344.85°)
OKLaboklab(52.74% 0.1636 -0.0386)
OKLCHoklch(52.74% 0.168 346.7)
XYZxyz(21.9276, 12.8989, 21.0696)
Luminance0.1290 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB377E #37AB64
analogous
#9E37AB #AB377E #AB3744
triadic
#AB377E #7EAB37 #377EAB
tetradic
#AB377E #AB9E37 #37AB64 #3744AB
square
#AB377E #AB9E37 #37AB64 #3744AB
split-complementary
#AB377E #44AB37 #37AB9E
monochromatic
#4E193A #7D285C #AB377E #C9569C #D885B7

Accessibility & contrast

On white

5.87
#AB377E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#AB377E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB377E
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB377E#FFFFFF#000000##FFFFFF
##AB377E1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455880
Deuteranopia (green-blind)
#676C7B
Tritanopia (blue-blind)
#B73455
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab377e;
/* rgb */ color: rgb(171, 55, 126);
/* oklch */ color: oklch(52.7% 0.168 346.7);
Tailwind
colors: {
  custom: {
    50: '#c876a3',
    500: '#ab377e',
    950: '#000000',
  },
}
SCSS
$custom: #ab377e;
$custom-light: #c876a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab377e",
  "rgb": {
    "r": 171,
    "g": 55,
    "b": 126
  },
  "hsl": {
    "h": 323.276,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52742,
    "c": 0.16809,
    "h": 346.7
  },
  "luminance": 0.12897
}

Semantic roles & 50–950 ramp

primary
#AB377E
secondary
#7CC197
accent
#DB844D
background
#FCF7FA
surface
#F9EEF3
border
#D2C9CD
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AB377E

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

Preview Lab → · Contrast checker → · Palette generator →

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