#AB4698#AB4698

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

Color values

HEX#AB4698
RGBrgb(171, 70, 152)
HSLhsl(311, 42%, 47%)
HSVhsv(311, 59%, 67%)
CMYKcmyk(0%, 59.1%, 11.1%, 32.9%)
CIE-LABlab(46.05, 51.40, -25.09)
CIE-LCHlch(46.05, 57.20, 333.98°)
OKLaboklab(55.62% 0.1495 -0.0681)
OKLCHoklch(55.62% 0.164 335.5)
XYZxyz(24.6524, 15.3071, 31.3558)
Luminance0.1530 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4698 #46AB59
analogous
#8C46AB #AB4698 #AB4666
triadic
#AB4698 #98AB46 #4698AB
tetradic
#AB4698 #AB8C46 #46AB59 #4666AB
square
#AB4698 #AB8C46 #46AB59 #4666AB
split-complementary
#AB4698 #66AB46 #46AB8C
monochromatic
#54224B #803471 #AB4698 #C36CB2 #D497C9

Accessibility & contrast

On white

5.17
#AB4698 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#AB4698 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4698
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4698#FFFFFF#000000##FFFFFF
##AB46981.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47639B
Deuteranopia (green-blind)
#657395
Tritanopia (blue-blind)
#B34C68
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab4698;
/* rgb */ color: rgb(171, 70, 152);
/* oklch */ color: oklch(55.6% 0.164 335.5);
Tailwind
colors: {
  custom: {
    50: '#c77fb6',
    500: '#ab4698',
    950: '#000000',
  },
}
SCSS
$custom: #ab4698;
$custom-light: #c77fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4698",
  "rgb": {
    "r": 171,
    "g": 70,
    "b": 152
  },
  "hsl": {
    "h": 311.287,
    "s": 41.909,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55624,
    "c": 0.16431,
    "h": 335.5
  },
  "luminance": 0.15305
}

Semantic roles & 50–950 ramp

primary
#AB4698
secondary
#8CC096
accent
#D26D56
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130A11
muted
#827C80

Preview Lab

Preview with #AB4698

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

Preview Lab → · Contrast checker → · Palette generator →

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