#AB378B#AB378B

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

Color values

HEX#AB378B
RGBrgb(171, 55, 139)
HSLhsl(317, 51%, 44%)
HSVhsv(317, 68%, 67%)
CMYKcmyk(0%, 67.8%, 18.7%, 32.9%)
CIE-LABlab(43.15, 55.83, -21.75)
CIE-LCHlch(43.15, 59.91, 338.72°)
OKLaboklab(53.31% 0.1663 -0.0585)
OKLCHoklch(53.31% 0.176 340.6)
XYZxyz(22.8216, 13.2565, 25.7779)
Luminance0.1325 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB378B #37AB57
analogous
#9137AB #AB378B #AB3751
triadic
#AB378B #8BAB37 #378BAB
tetradic
#AB378B #AB9137 #37AB57 #3751AB
square
#AB378B #AB9137 #37AB57 #3751AB
split-complementary
#AB378B #51AB37 #37AB91
monochromatic
#4E1940 #7D2865 #AB378B #C956A9 #D885C1

Accessibility & contrast

On white

5.75
#AB378B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB378B
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB378B#FFFFFF#000000##FFFFFF
##AB378B1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5A8D
Deuteranopia (green-blind)
#636D88
Tritanopia (blue-blind)
#B53A5C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ab378b;
/* rgb */ color: rgb(171, 55, 139);
/* oklch */ color: oklch(53.3% 0.176 340.6);
Tailwind
colors: {
  custom: {
    50: '#c777ad',
    500: '#ab378b',
    950: '#000000',
  },
}
SCSS
$custom: #ab378b;
$custom-light: #c777ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ab378b",
  "rgb": {
    "r": 171,
    "g": 55,
    "b": 139
  },
  "hsl": {
    "h": 316.552,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53311,
    "c": 0.17632,
    "h": 340.6
  },
  "luminance": 0.13254
}

Semantic roles & 50–950 ramp

primary
#AB378B
secondary
#7CC18F
accent
#DB744D
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #AB378B

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

Preview Lab → · Contrast checker → · Palette generator →

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