#AB378F#AB378F

#AB378F is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.5% C 0.179 H 338.9°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#AB378F
RGBrgb(171, 55, 143)
HSLhsl(314, 51%, 44%)
HSVhsv(314, 68%, 67%)
CMYKcmyk(0%, 67.8%, 16.4%, 32.9%)
CIE-LABlab(43.32, 56.41, -23.90)
CIE-LCHlch(43.32, 61.26, 337.04°)
OKLaboklab(53.5% 0.167 -0.0646)
OKLCHoklch(53.5% 0.179 338.9)
XYZxyz(23.1192, 13.3756, 27.3454)
Luminance0.1337 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB378F #37AB53
analogous
#8D37AB #AB378F #AB3755
triadic
#AB378F #8FAB37 #378FAB
tetradic
#AB378F #AB8D37 #37AB53 #3755AB
square
#AB378F #AB8D37 #37AB53 #3755AB
split-complementary
#AB378F #55AB37 #37AB8D
monochromatic
#4E1942 #7D2868 #AB378F #C956AD #D885C4

Accessibility & contrast

On white

5.71
#AB378F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#AB378F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB378F
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB378F#FFFFFF#000000##FFFFFF
##AB378F1.005.713.675.71
#FFFFFF5.711.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5B92
Deuteranopia (green-blind)
#616D8C
Tritanopia (blue-blind)
#B53B5E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ab378f;
/* rgb */ color: rgb(171, 55, 143);
/* oklch */ color: oklch(53.5% 0.179 338.9);
Tailwind
colors: {
  custom: {
    50: '#c777b0',
    500: '#ab378f',
    950: '#000000',
  },
}
SCSS
$custom: #ab378f;
$custom-light: #c777b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab378f",
  "rgb": {
    "r": 171,
    "g": 55,
    "b": 143
  },
  "hsl": {
    "h": 314.483,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53497,
    "c": 0.17908,
    "h": 338.9
  },
  "luminance": 0.13373
}

Semantic roles & 50–950 ramp

primary
#AB378F
secondary
#7CC18D
accent
#DB6F4D
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #AB378F

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

Preview Lab → · Contrast checker → · Palette generator →

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