#AB378A#AB378A

#AB378A is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.3% C 0.176 H 341.1°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#AB378A
RGBrgb(171, 55, 138)
HSLhsl(317, 51%, 44%)
HSVhsv(317, 68%, 67%)
CMYKcmyk(0%, 67.8%, 19.3%, 32.9%)
CIE-LABlab(43.10, 55.68, -21.21)
CIE-LCHlch(43.10, 59.58, 339.15°)
OKLaboklab(53.26% 0.1662 -0.057)
OKLCHoklch(53.26% 0.176 341.1)
XYZxyz(22.7488, 13.2274, 25.3949)
Luminance0.1323 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB378A #37AB58
analogous
#9237AB #AB378A #AB3750
triadic
#AB378A #8AAB37 #378AAB
tetradic
#AB378A #AB9237 #37AB58 #3750AB
square
#AB378A #AB9237 #37AB58 #3750AB
split-complementary
#AB378A #50AB37 #37AB92
monochromatic
#4E193F #7D2865 #AB378A #C956A8 #D885C0

Accessibility & contrast

On white

5.76
#AB378A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#AB378A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB378A
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB378A#FFFFFF#000000##FFFFFF
##AB378A1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5A8C
Deuteranopia (green-blind)
#636D87
Tritanopia (blue-blind)
#B5395B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ab378a;
/* rgb */ color: rgb(171, 55, 138);
/* oklch */ color: oklch(53.3% 0.176 341.1);
Tailwind
colors: {
  custom: {
    50: '#c777ac',
    500: '#ab378a',
    950: '#000000',
  },
}
SCSS
$custom: #ab378a;
$custom-light: #c777ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ab378a",
  "rgb": {
    "r": 171,
    "g": 55,
    "b": 138
  },
  "hsl": {
    "h": 317.069,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53265,
    "c": 0.17565,
    "h": 341.1
  },
  "luminance": 0.13225
}

Semantic roles & 50–950 ramp

primary
#AB378A
secondary
#7CC190
accent
#DB754D
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #AB378A

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

Preview Lab → · Contrast checker → · Palette generator →

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