#AB378C#AB378C

#AB378C is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.4% C 0.177 H 340.2°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#AB378C
RGBrgb(171, 55, 140)
HSLhsl(316, 51%, 44%)
HSVhsv(316, 68%, 67%)
CMYKcmyk(0%, 67.8%, 18.1%, 32.9%)
CIE-LABlab(43.19, 55.97, -22.29)
CIE-LCHlch(43.19, 60.24, 338.29°)
OKLaboklab(53.36% 0.1665 -0.06)
OKLCHoklch(53.36% 0.177 340.2)
XYZxyz(22.8950, 13.2859, 26.1645)
Luminance0.1328 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB378C #37AB56
analogous
#9037AB #AB378C #AB3752
triadic
#AB378C #8CAB37 #378CAB
tetradic
#AB378C #AB9037 #37AB56 #3752AB
square
#AB378C #AB9037 #37AB56 #3752AB
split-complementary
#AB378C #52AB37 #37AB90
monochromatic
#4E1940 #7D2866 #AB378C #C956AA #D885C2

Accessibility & contrast

On white

5.74
#AB378C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#AB378C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB378C
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB378C#FFFFFF#000000##FFFFFF
##AB378C1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5A8E
Deuteranopia (green-blind)
#626D89
Tritanopia (blue-blind)
#B53A5C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ab378c;
/* rgb */ color: rgb(171, 55, 140);
/* oklch */ color: oklch(53.4% 0.177 340.2);
Tailwind
colors: {
  custom: {
    50: '#c777ae',
    500: '#ab378c',
    950: '#000000',
  },
}
SCSS
$custom: #ab378c;
$custom-light: #c777ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ab378c",
  "rgb": {
    "r": 171,
    "g": 55,
    "b": 140
  },
  "hsl": {
    "h": 316.034,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53357,
    "c": 0.177,
    "h": 340.2
  },
  "luminance": 0.13284
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB378C

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

Preview Lab → · Contrast checker → · Palette generator →

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