#AB378E#AB378E

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

Color values

HEX#AB378E
RGBrgb(171, 55, 142)
HSLhsl(315, 51%, 44%)
HSVhsv(315, 68%, 67%)
CMYKcmyk(0%, 67.8%, 17%, 32.9%)
CIE-LABlab(43.28, 56.26, -23.36)
CIE-LCHlch(43.28, 60.92, 337.45°)
OKLaboklab(53.45% 0.1669 -0.0631)
OKLCHoklch(53.45% 0.178 339.3)
XYZxyz(23.0438, 13.3454, 26.9482)
Luminance0.1334 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB378E #37AB54
analogous
#8E37AB #AB378E #AB3754
triadic
#AB378E #8EAB37 #378EAB
tetradic
#AB378E #AB8E37 #37AB54 #3754AB
square
#AB378E #AB8E37 #37AB54 #3754AB
split-complementary
#AB378E #54AB37 #37AB8E
monochromatic
#4E1941 #7D2868 #AB378E #C956AC #D885C3

Accessibility & contrast

On white

5.72
#AB378E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB378E
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB378E#FFFFFF#000000##FFFFFF
##AB378E1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5B91
Deuteranopia (green-blind)
#616D8B
Tritanopia (blue-blind)
#B53B5D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ab378e;
/* rgb */ color: rgb(171, 55, 142);
/* oklch */ color: oklch(53.4% 0.178 339.3);
Tailwind
colors: {
  custom: {
    50: '#c777af',
    500: '#ab378e',
    950: '#000000',
  },
}
SCSS
$custom: #ab378e;
$custom-light: #c777af;
$custom-dark: #000000;
JSON
{
  "hex": "#ab378e",
  "rgb": {
    "r": 171,
    "g": 55,
    "b": 142
  },
  "hsl": {
    "h": 315,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5345,
    "c": 0.17838,
    "h": 339.3
  },
  "luminance": 0.13343
}

Semantic roles & 50–950 ramp

primary
#AB378E
secondary
#7CC18E
accent
#DB704D
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #AB378E

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

Preview Lab → · Contrast checker → · Palette generator →

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