#AB526E#AB526E

#AB526E is a mid, vivid pink. Relative luminance 0.158; OKLCH L 55.6% C 0.120 H 1.9°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#AB526E
RGBrgb(171, 82, 110)
HSLhsl(341, 35%, 50%)
HSVhsv(341, 52%, 67%)
CMYKcmyk(0%, 52%, 35.7%, 32.9%)
CIE-LABlab(46.74, 39.46, 1.30)
CIE-LCHlch(46.74, 39.49, 1.89°)
OKLaboklab(55.63% 0.12 0.0039)
OKLCHoklch(55.63% 0.12 1.9)
XYZxyz(22.6275, 15.8205, 16.6108)
Luminance0.1582 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB526E #52AB8F
analogous
#AB529A #AB526E #AB6352
triadic
#AB526E #6EAB52 #526EAB
tetradic
#AB526E #9AAB52 #52AB8F #6352AB
square
#AB526E #9AAB52 #52AB8F #6352AB
split-complementary
#AB526E #52AB63 #529AAB
monochromatic
#582A39 #823E53 #AB526E #C07B90 #D3A4B3

Accessibility & contrast

On white

5.04
#AB526E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#AB526E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB526E
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB526E#FFFFFF#000000##FFFFFF
##AB526E1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61646F
Deuteranopia (green-blind)
#78756C
Tritanopia (blue-blind)
#B84B5C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ab526e;
/* rgb */ color: rgb(171, 82, 110);
/* oklch */ color: oklch(55.6% 0.120 1.9);
Tailwind
colors: {
  custom: {
    50: '#c78597',
    500: '#ab526e',
    950: '#000000',
  },
}
SCSS
$custom: #ab526e;
$custom-light: #c78597;
$custom-dark: #000000;
JSON
{
  "hex": "#ab526e",
  "rgb": {
    "r": 171,
    "g": 82,
    "b": 110
  },
  "hsl": {
    "h": 341.124,
    "s": 35.178,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55634,
    "c": 0.12004,
    "h": 1.9
  },
  "luminance": 0.15818
}

Semantic roles & 50–950 ramp

primary
#AB526E
secondary
#98C1B4
accent
#CBA85D
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#130B0D
muted
#827C7E

Preview Lab

Preview with #AB526E

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

Preview Lab → · Contrast checker → · Palette generator →

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