#AB4E6D#AB4E6D

#AB4E6D is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.0% C 0.126 H 1.1°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#AB4E6D
RGBrgb(171, 78, 109)
HSLhsl(340, 37%, 49%)
HSVhsv(340, 54%, 67%)
CMYKcmyk(0%, 54.4%, 36.3%, 32.9%)
CIE-LABlab(45.92, 41.38, 0.73)
CIE-LCHlch(45.92, 41.38, 1.01°)
OKLaboklab(55.01% 0.1259 0.0024)
OKLCHoklch(55.01% 0.126 1.1)
XYZxyz(22.2805, 15.2131, 16.2281)
Luminance0.1521 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4E6D #4EAB8C
analogous
#AB4E9C #AB4E6D #AB5E4E
triadic
#AB4E6D #6DAB4E #4E6DAB
tetradic
#AB4E6D #9CAB4E #4EAB8C #5E4EAB
square
#AB4E6D #9CAB4E #4EAB8C #5E4EAB
split-complementary
#AB4E6D #4EAB5E #4E9CAB
monochromatic
#572837 #813B52 #AB4E6D #C0768F #D4A0B1

Accessibility & contrast

On white

5.20
#AB4E6D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#AB4E6D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4E6D
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4E6D#FFFFFF#000000##FFFFFF
##AB4E6D1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E626E
Deuteranopia (green-blind)
#76736B
Tritanopia (blue-blind)
#B8465A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab4e6d;
/* rgb */ color: rgb(171, 78, 109);
/* oklch */ color: oklch(55.0% 0.126 1.1);
Tailwind
colors: {
  custom: {
    50: '#c78396',
    500: '#ab4e6d',
    950: '#000000',
  },
}
SCSS
$custom: #ab4e6d;
$custom-light: #c78396;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4e6d",
  "rgb": {
    "r": 171,
    "g": 78,
    "b": 109
  },
  "hsl": {
    "h": 340,
    "s": 37.349,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55013,
    "c": 0.12594,
    "h": 1.1
  },
  "luminance": 0.15211
}

Semantic roles & 50–950 ramp

primary
#AB4E6D
secondary
#94C1B2
accent
#CDA75A
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#130B0D
muted
#827C7E

Preview Lab

Preview with #AB4E6D

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

Preview Lab → · Contrast checker → · Palette generator →

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