#AB4792#AB4792

#AB4792 is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.5% C 0.158 H 338.4°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#AB4792
RGBrgb(171, 71, 146)
HSLhsl(315, 41%, 47%)
HSVhsv(315, 58%, 67%)
CMYKcmyk(0%, 58.5%, 14.6%, 32.9%)
CIE-LABlab(45.96, 49.98, -21.63)
CIE-LCHlch(45.96, 54.46, 336.60°)
OKLaboklab(55.47% 0.147 -0.0583)
OKLCHoklch(55.47% 0.158 338.4)
XYZxyz(24.2365, 15.2417, 28.8540)
Luminance0.1524 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4792 #47AB60
analogous
#9247AB #AB4792 #AB4760
triadic
#AB4792 #92AB47 #4792AB
tetradic
#AB4792 #AB9247 #47AB60 #4760AB
square
#AB4792 #AB9247 #47AB60 #4760AB
split-complementary
#AB4792 #60AB47 #47AB92
monochromatic
#552348 #80356D #AB4792 #C26DAD #D498C5

Accessibility & contrast

On white

5.19
#AB4792 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB4792
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4792#FFFFFF#000000##FFFFFF
##AB47921.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6394
Deuteranopia (green-blind)
#68738F
Tritanopia (blue-blind)
#B44A66
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab4792;
/* rgb */ color: rgb(171, 71, 146);
/* oklch */ color: oklch(55.5% 0.158 338.4);
Tailwind
colors: {
  custom: {
    50: '#c77fb2',
    500: '#ab4792',
    950: '#000000',
  },
}
SCSS
$custom: #ab4792;
$custom-light: #c77fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4792",
  "rgb": {
    "r": 171,
    "g": 71,
    "b": 146
  },
  "hsl": {
    "h": 315,
    "s": 41.322,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55474,
    "c": 0.15816,
    "h": 338.4
  },
  "luminance": 0.1524
}

Semantic roles & 50–950 ramp

primary
#AB4792
secondary
#8DC09A
accent
#D17557
background
#FCF8FA
surface
#F8EFF5
border
#D1CACF
text
#130A11
muted
#827C80

Preview Lab

Preview with #AB4792

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

Preview Lab → · Contrast checker → · Palette generator →

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