#AB427D#AB427D

#AB427D is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.0% C 0.152 H 348.6°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#AB427D
RGBrgb(171, 66, 125)
HSLhsl(326, 44%, 46%)
HSVhsv(326, 61%, 67%)
CMYKcmyk(0%, 61.4%, 26.9%, 32.9%)
CIE-LABlab(44.29, 49.20, -11.47)
CIE-LCHlch(44.29, 50.52, 346.87°)
OKLaboklab(53.96% 0.1489 -0.0301)
OKLCHoklch(53.96% 0.152 348.6)
XYZxyz(22.4454, 14.0372, 20.9254)
Luminance0.1404 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB427D #42AB70
analogous
#A542AB #AB427D #AB4248
triadic
#AB427D #7DAB42 #427DAB
tetradic
#AB427D #ABA542 #42AB70 #4248AB
square
#AB427D #ABA542 #42AB70 #4248AB
split-complementary
#AB427D #48AB42 #42ABA5
monochromatic
#53203C #7F315D #AB427D #C4669B #D592B8

Accessibility & contrast

On white

5.52
#AB427D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#AB427D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB427D
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB427D#FFFFFF#000000##FFFFFF
##AB427D1.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5D7F
Deuteranopia (green-blind)
#6C6F7A
Tritanopia (blue-blind)
#B63F5A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ab427d;
/* rgb */ color: rgb(171, 66, 125);
/* oklch */ color: oklch(54.0% 0.152 348.6);
Tailwind
colors: {
  custom: {
    50: '#c77ca2',
    500: '#ab427d',
    950: '#000000',
  },
}
SCSS
$custom: #ab427d;
$custom-light: #c77ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab427d",
  "rgb": {
    "r": 171,
    "g": 66,
    "b": 125
  },
  "hsl": {
    "h": 326.286,
    "s": 44.304,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53964,
    "c": 0.15187,
    "h": 348.6
  },
  "luminance": 0.14035
}

Semantic roles & 50–950 ramp

primary
#AB427D
secondary
#88C0A1
accent
#D48C54
background
#FCF7FA
surface
#F9EEF3
border
#D2C9CD
text
#130A0F
muted
#827C7F

Preview Lab

Preview with #AB427D

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

Preview Lab → · Contrast checker → · Palette generator →

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