#AB4697#AB4697

#AB4697 is a mid, vivid pink. Relative luminance 0.153; OKLCH L 55.6% C 0.164 H 336.0°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#AB4697
RGBrgb(171, 70, 151)
HSLhsl(312, 42%, 47%)
HSVhsv(312, 59%, 67%)
CMYKcmyk(0%, 59.1%, 11.7%, 32.9%)
CIE-LABlab(46.01, 51.24, -24.56)
CIE-LCHlch(46.01, 56.82, 334.39°)
OKLaboklab(55.58% 0.1494 -0.0666)
OKLCHoklch(55.58% 0.164 336)
XYZxyz(24.5709, 15.2745, 30.9263)
Luminance0.1527 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4697 #46AB5A
analogous
#8D46AB #AB4697 #AB4665
triadic
#AB4697 #97AB46 #4697AB
tetradic
#AB4697 #AB8D46 #46AB5A #4665AB
square
#AB4697 #AB8D46 #46AB5A #4665AB
split-complementary
#AB4697 #65AB46 #46AB8D
monochromatic
#54224A #803471 #AB4697 #C36CB1 #D497C8

Accessibility & contrast

On white

5.18
#AB4697 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#AB4697 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4697
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4697#FFFFFF#000000##FFFFFF
##AB46971.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47639A
Deuteranopia (green-blind)
#667394
Tritanopia (blue-blind)
#B34B68
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab4697;
/* rgb */ color: rgb(171, 70, 151);
/* oklch */ color: oklch(55.6% 0.164 336.0);
Tailwind
colors: {
  custom: {
    50: '#c77fb6',
    500: '#ab4697',
    950: '#000000',
  },
}
SCSS
$custom: #ab4697;
$custom-light: #c77fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4697",
  "rgb": {
    "r": 171,
    "g": 70,
    "b": 151
  },
  "hsl": {
    "h": 311.881,
    "s": 41.909,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55577,
    "c": 0.16353,
    "h": 336
  },
  "luminance": 0.15273
}

Semantic roles & 50–950 ramp

primary
#AB4697
secondary
#8CC097
accent
#D26F56
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130A11
muted
#827C80

Preview Lab

Preview with #AB4697

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

Preview Lab → · Contrast checker → · Palette generator →

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