#AB498F#AB498F

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

Color values

HEX#AB498F
RGBrgb(171, 73, 143)
HSLhsl(317, 40%, 48%)
HSVhsv(317, 57%, 67%)
CMYKcmyk(0%, 57.3%, 16.4%, 32.9%)
CIE-LABlab(46.19, 48.57, -19.48)
CIE-LCHlch(46.19, 52.33, 338.14°)
OKLaboklab(55.6% 0.1436 -0.0523)
OKLCHoklch(55.6% 0.153 340)
XYZxyz(24.1355, 15.4081, 27.6842)
Luminance0.1541 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB498F #49AB65
analogous
#9649AB #AB498F #AB495E
triadic
#AB498F #8FAB49 #498FAB
tetradic
#AB498F #AB9649 #49AB65 #495EAB
square
#AB498F #AB9649 #49AB65 #495EAB
split-complementary
#AB498F #5EAB49 #49AB96
monochromatic
#552447 #80376B #AB498F #C26FAA #D49AC4

Accessibility & contrast

On white

5.15
#AB498F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#AB498F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB498F
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB498F#FFFFFF#000000##FFFFFF
##AB498F1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6491
Deuteranopia (green-blind)
#6A738C
Tritanopia (blue-blind)
#B44B65
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab498f;
/* rgb */ color: rgb(171, 73, 143);
/* oklch */ color: oklch(55.6% 0.153 340.0);
Tailwind
colors: {
  custom: {
    50: '#c781b0',
    500: '#ab498f',
    950: '#000000',
  },
}
SCSS
$custom: #ab498f;
$custom-light: #c781b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab498f",
  "rgb": {
    "r": 171,
    "g": 73,
    "b": 143
  },
  "hsl": {
    "h": 317.143,
    "s": 40.164,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55599,
    "c": 0.1528,
    "h": 340
  },
  "luminance": 0.15406
}

Semantic roles & 50–950 ramp

primary
#AB498F
secondary
#8FC09D
accent
#D07A58
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130B10
muted
#827C7F

Preview Lab

Preview with #AB498F

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

Preview Lab → · Contrast checker → · Palette generator →

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