#AB377F#AB377F

#AB377F is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.8% C 0.169 H 346.2°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#AB377F
RGBrgb(171, 55, 127)
HSLhsl(323, 51%, 44%)
HSVhsv(323, 68%, 67%)
CMYKcmyk(0%, 67.8%, 25.7%, 32.9%)
CIE-LABlab(42.65, 54.16, -15.18)
CIE-LCHlch(42.65, 56.25, 344.34°)
OKLaboklab(52.78% 0.1638 -0.0402)
OKLCHoklch(52.78% 0.169 346.2)
XYZxyz(21.9924, 12.9249, 21.4111)
Luminance0.1292 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB377F #37AB63
analogous
#9D37AB #AB377F #AB3745
triadic
#AB377F #7FAB37 #377FAB
tetradic
#AB377F #AB9D37 #37AB63 #3745AB
square
#AB377F #AB9D37 #37AB63 #3745AB
split-complementary
#AB377F #45AB37 #37AB9D
monochromatic
#4E193A #7D285D #AB377F #C9569D #D885B8

Accessibility & contrast

On white

5.86
#AB377F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB377F
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB377F#FFFFFF#000000##FFFFFF
##AB377F1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455881
Deuteranopia (green-blind)
#666C7C
Tritanopia (blue-blind)
#B63456
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab377f;
/* rgb */ color: rgb(171, 55, 127);
/* oklch */ color: oklch(52.8% 0.169 346.2);
Tailwind
colors: {
  custom: {
    50: '#c876a4',
    500: '#ab377f',
    950: '#000000',
  },
}
SCSS
$custom: #ab377f;
$custom-light: #c876a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab377f",
  "rgb": {
    "r": 171,
    "g": 55,
    "b": 127
  },
  "hsl": {
    "h": 322.759,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52784,
    "c": 0.16868,
    "h": 346.2
  },
  "luminance": 0.12923
}

Semantic roles & 50–950 ramp

primary
#AB377F
secondary
#7CC197
accent
#DB834D
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AB377F

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

Preview Lab → · Contrast checker → · Palette generator →

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