#AB526A#AB526A

#AB526A is a mid, moderate pink. Relative luminance 0.157; OKLCH L 55.5% C 0.119 H 4.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#AB526A
RGBrgb(171, 82, 106)
HSLhsl(344, 35%, 50%)
HSVhsv(344, 52%, 67%)
CMYKcmyk(0%, 52%, 38%, 32.9%)
CIE-LABlab(46.63, 38.98, 3.57)
CIE-LCHlch(46.63, 39.14, 5.23°)
OKLaboklab(55.51% 0.1185 0.0097)
OKLCHoklch(55.51% 0.119 4.7)
XYZxyz(22.4146, 15.7353, 15.4896)
Luminance0.1573 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB526A #52AB93
analogous
#AB5297 #AB526A #AB6652
triadic
#AB526A #6AAB52 #526AAB
tetradic
#AB526A #97AB52 #52AB93 #6652AB
square
#AB526A #97AB52 #52AB93 #6652AB
split-complementary
#AB526A #52AB66 #5297AB
monochromatic
#582A37 #823E50 #AB526A #C07B8D #D3A4B1

Accessibility & contrast

On white

5.06
#AB526A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#AB526A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB526A
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB526A#FFFFFF#000000##FFFFFF
##AB526A1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62646B
Deuteranopia (green-blind)
#787568
Tritanopia (blue-blind)
#B84A5B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ab526a;
/* rgb */ color: rgb(171, 82, 106);
/* oklch */ color: oklch(55.5% 0.119 4.7);
Tailwind
colors: {
  custom: {
    50: '#c78594',
    500: '#ab526a',
    950: '#000000',
  },
}
SCSS
$custom: #ab526a;
$custom-light: #c78594;
$custom-dark: #000000;
JSON
{
  "hex": "#ab526a",
  "rgb": {
    "r": 171,
    "g": 82,
    "b": 106
  },
  "hsl": {
    "h": 343.82,
    "s": 35.178,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55512,
    "c": 0.11889,
    "h": 4.7
  },
  "luminance": 0.15733
}

Semantic roles & 50–950 ramp

primary
#AB526A
secondary
#98C1B6
accent
#CBAD5D
background
#FCF8F9
surface
#F9EFF1
border
#D2CACB
text
#130B0D
muted
#827C7E

Preview Lab

Preview with #AB526A

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

Preview Lab → · Contrast checker → · Palette generator →

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