#AB5293#AB5293

#AB5293 is a mid, vivid pink. Relative luminance 0.168; OKLCH L 57.0% C 0.141 H 338.7°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#AB5293
RGBrgb(171, 82, 147)
HSLhsl(316, 35%, 50%)
HSVhsv(316, 52%, 67%)
CMYKcmyk(0%, 52%, 14%, 32.9%)
CIE-LABlab(48.01, 44.80, -19.09)
CIE-LCHlch(48.01, 48.69, 336.92°)
OKLaboklab(57% 0.1314 -0.0513)
OKLCHoklch(57% 0.141 338.7)
XYZxyz(25.0786, 16.8009, 29.5201)
Luminance0.1680 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5293 #52AB6A
analogous
#9752AB #AB5293 #AB5266
triadic
#AB5293 #93AB52 #5293AB
tetradic
#AB5293 #AB9752 #52AB6A #5266AB
square
#AB5293 #AB9752 #52AB6A #5266AB
split-complementary
#AB5293 #66AB52 #52AB97
monochromatic
#582A4C #823E6F #AB5293 #C07BAD #D3A4C7

Accessibility & contrast

On white

4.82
#AB5293 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#AB5293 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB5293
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5293#FFFFFF#000000##FFFFFF
##AB52931.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556995
Deuteranopia (green-blind)
#6E7791
Tritanopia (blue-blind)
#B3546C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ab5293;
/* rgb */ color: rgb(171, 82, 147);
/* oklch */ color: oklch(57.0% 0.141 338.7);
Tailwind
colors: {
  custom: {
    50: '#c686b2',
    500: '#ab5293',
    950: '#000000',
  },
}
SCSS
$custom: #ab5293;
$custom-light: #c686b2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5293",
  "rgb": {
    "r": 171,
    "g": 82,
    "b": 147
  },
  "hsl": {
    "h": 316.18,
    "s": 35.178,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57001,
    "c": 0.14107,
    "h": 338.7
  },
  "luminance": 0.16799
}

Semantic roles & 50–950 ramp

primary
#AB5293
secondary
#98C1A3
accent
#CB7A5D
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#130B11
muted
#827C80

Preview Lab

Preview with #AB5293

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

Preview Lab → · Contrast checker → · Palette generator →

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