#AB457D#AB457D

#AB457D is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.3% C 0.147 H 349.1°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#AB457D
RGBrgb(171, 69, 125)
HSLhsl(327, 43%, 47%)
HSVhsv(327, 60%, 67%)
CMYKcmyk(0%, 59.6%, 26.9%, 32.9%)
CIE-LABlab(44.80, 47.82, -10.70)
CIE-LCHlch(44.80, 49.00, 347.38°)
OKLaboklab(54.34% 0.1446 -0.028)
OKLCHoklch(54.34% 0.147 349.1)
XYZxyz(22.6253, 14.3970, 20.9854)
Luminance0.1439 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB457D #45AB73
analogous
#A645AB #AB457D #AB454A
triadic
#AB457D #7DAB45 #457DAB
tetradic
#AB457D #ABA645 #45AB73 #454AAB
square
#AB457D #ABA645 #45AB73 #454AAB
split-complementary
#AB457D #4AAB45 #45ABA6
monochromatic
#54223D #7F335D #AB457D #C36A9B #D596B8

Accessibility & contrast

On white

5.41
#AB457D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#AB457D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB457D
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB457D#FFFFFF#000000##FFFFFF
##AB457D1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515F7F
Deuteranopia (green-blind)
#6D717B
Tritanopia (blue-blind)
#B6425B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab457d;
/* rgb */ color: rgb(171, 69, 125);
/* oklch */ color: oklch(54.3% 0.147 349.1);
Tailwind
colors: {
  custom: {
    50: '#c77ea2',
    500: '#ab457d',
    950: '#000000',
  },
}
SCSS
$custom: #ab457d;
$custom-light: #c77ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab457d",
  "rgb": {
    "r": 171,
    "g": 69,
    "b": 125
  },
  "hsl": {
    "h": 327.059,
    "s": 42.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54343,
    "c": 0.14732,
    "h": 349.1
  },
  "luminance": 0.14395
}

Semantic roles & 50–950 ramp

primary
#AB457D
secondary
#8BC0A3
accent
#D28E56
background
#FCF7FA
surface
#F9EEF3
border
#D2C9CD
text
#130A0F
muted
#827C7F

Preview Lab

Preview with #AB457D

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

Preview Lab → · Contrast checker → · Palette generator →

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