#AB488E#AB488E

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

Color values

HEX#AB488E
RGBrgb(171, 72, 142)
HSLhsl(318, 41%, 48%)
HSVhsv(318, 58%, 67%)
CMYKcmyk(0%, 57.9%, 17%, 32.9%)
CIE-LABlab(45.97, 48.89, -19.21)
CIE-LCHlch(45.97, 52.53, 338.55°)
OKLaboklab(55.43% 0.1448 -0.0515)
OKLCHoklch(55.43% 0.154 340.4)
XYZxyz(23.9949, 15.2476, 27.2653)
Luminance0.1525 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB488E #48AB65
analogous
#9748AB #AB488E #AB485C
triadic
#AB488E #8EAB48 #488EAB
tetradic
#AB488E #AB9748 #48AB65 #485CAB
square
#AB488E #AB9748 #48AB65 #485CAB
split-complementary
#AB488E #5CAB48 #48AB97
monochromatic
#552446 #80366A #AB488E #C26EA9 #D499C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB488E#FFFFFF#000000##FFFFFF
##AB488E1.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)
#4D6390
Deuteranopia (green-blind)
#6A738B
Tritanopia (blue-blind)
#B44A65
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab488e;
/* rgb */ color: rgb(171, 72, 142);
/* oklch */ color: oklch(55.4% 0.154 340.4);
Tailwind
colors: {
  custom: {
    50: '#c780af',
    500: '#ab488e',
    950: '#000000',
  },
}
SCSS
$custom: #ab488e;
$custom-light: #c780af;
$custom-dark: #000000;
JSON
{
  "hex": "#ab488e",
  "rgb": {
    "r": 171,
    "g": 72,
    "b": 142
  },
  "hsl": {
    "h": 317.576,
    "s": 40.741,
    "l": 47.647
  },
  "oklch": {
    "l": 0.55426,
    "c": 0.15366,
    "h": 340.4
  },
  "luminance": 0.15246
}

Semantic roles & 50–950 ramp

primary
#AB488E
secondary
#8EC09D
accent
#D17B57
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130B10
muted
#827C7F

Preview Lab

Preview with #AB488E

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

Preview Lab → · Contrast checker → · Palette generator →

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