#AB4875#AB4875

#AB4875 is a mid, vivid pink. Relative luminance 0.146; OKLCH L 54.4% C 0.139 H 354.3°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#AB4875
RGBrgb(171, 72, 117)
HSLhsl(333, 41%, 48%)
HSVhsv(333, 58%, 67%)
CMYKcmyk(0%, 57.9%, 31.6%, 32.9%)
CIE-LABlab(45.05, 45.34, -5.44)
CIE-LCHlch(45.05, 45.66, 353.16°)
OKLaboklab(54.44% 0.1378 -0.0138)
OKLCHoklch(54.44% 0.139 354.3)
XYZxyz(22.3239, 14.5792, 18.4646)
Luminance0.1458 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4875 #48AB7E
analogous
#AB48A7 #AB4875 #AB4C48
triadic
#AB4875 #75AB48 #4875AB
tetradic
#AB4875 #A7AB48 #48AB7E #4C48AB
square
#AB4875 #A7AB48 #48AB7E #4C48AB
split-complementary
#AB4875 #48AB4C #48A7AB
monochromatic
#55243A #803658 #AB4875 #C26E94 #D499B4

Accessibility & contrast

On white

5.36
#AB4875 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#AB4875 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4875
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4875#FFFFFF#000000##FFFFFF
##AB48751.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565F76
Deuteranopia (green-blind)
#717173
Tritanopia (blue-blind)
#B74259
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab4875;
/* rgb */ color: rgb(171, 72, 117);
/* oklch */ color: oklch(54.4% 0.139 354.3);
Tailwind
colors: {
  custom: {
    50: '#c77f9c',
    500: '#ab4875',
    950: '#000000',
  },
}
SCSS
$custom: #ab4875;
$custom-light: #c77f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4875",
  "rgb": {
    "r": 171,
    "g": 72,
    "b": 117
  },
  "hsl": {
    "h": 332.727,
    "s": 40.741,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54442,
    "c": 0.13851,
    "h": 354.3
  },
  "luminance": 0.14577
}

Semantic roles & 50–950 ramp

primary
#AB4875
secondary
#8EC0AA
accent
#D19957
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#130A0E
muted
#827C7E

Preview Lab

Preview with #AB4875

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

Preview Lab → · Contrast checker → · Palette generator →

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