#AB458D#AB458D

#AB458D is a mid, vivid pink. Relative luminance 0.148; OKLCH L 55.0% C 0.158 H 340.6°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#AB458D
RGBrgb(171, 69, 141)
HSLhsl(318, 43%, 47%)
HSVhsv(318, 60%, 67%)
CMYKcmyk(0%, 59.6%, 17.5%, 32.9%)
CIE-LABlab(45.41, 50.13, -19.47)
CIE-LCHlch(45.41, 53.78, 338.78°)
OKLaboklab(55% 0.1487 -0.0522)
OKLCHoklch(55% 0.158 340.6)
XYZxyz(23.7309, 14.8393, 26.8086)
Luminance0.1484 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB458D #45AB63
analogous
#9645AB #AB458D #AB455A
triadic
#AB458D #8DAB45 #458DAB
tetradic
#AB458D #AB9645 #45AB63 #455AAB
square
#AB458D #AB9645 #45AB63 #455AAB
split-complementary
#AB458D #5AAB45 #45AB96
monochromatic
#542245 #7F3369 #AB458D #C36AA9 #D596C2

Accessibility & contrast

On white

5.29
#AB458D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#AB458D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB458D
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB458D#FFFFFF#000000##FFFFFF
##AB458D1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B618F
Deuteranopia (green-blind)
#69728A
Tritanopia (blue-blind)
#B44763
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab458d;
/* rgb */ color: rgb(171, 69, 141);
/* oklch */ color: oklch(55.0% 0.158 340.6);
Tailwind
colors: {
  custom: {
    50: '#c77eae',
    500: '#ab458d',
    950: '#000000',
  },
}
SCSS
$custom: #ab458d;
$custom-light: #c77eae;
$custom-dark: #000000;
JSON
{
  "hex": "#ab458d",
  "rgb": {
    "r": 171,
    "g": 69,
    "b": 141
  },
  "hsl": {
    "h": 317.647,
    "s": 42.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55,
    "c": 0.15762,
    "h": 340.6
  },
  "luminance": 0.14837
}

Semantic roles & 50–950 ramp

primary
#AB458D
secondary
#8BC09B
accent
#D27A56
background
#FCF7FA
surface
#F8EEF4
border
#D1C9CE
text
#130A10
muted
#827C7F

Preview Lab

Preview with #AB458D

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

Preview Lab → · Contrast checker → · Palette generator →

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