#AB2793#AB2793

#AB2793 is a mid, highly saturated pink. Relative luminance 0.122; OKLCH L 52.3% C 0.200 H 336.7°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#AB2793
RGBrgb(171, 39, 147)
HSLhsl(311, 63%, 41%)
HSVhsv(311, 77%, 67%)
CMYKcmyk(0%, 77.2%, 14%, 32.9%)
CIE-LABlab(41.56, 62.51, -29.08)
CIE-LCHlch(41.56, 68.94, 335.05°)
OKLaboklab(52.28% 0.184 -0.0792)
OKLCHoklch(52.28% 0.2 336.7)
XYZxyz(22.7870, 12.2177, 28.7563)
Luminance0.1222 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2793 #27AB3F
analogous
#8127AB #AB2793 #AB2751
triadic
#AB2793 #93AB27 #2793AB
tetradic
#AB2793 #AB8127 #27AB3F #2751AB
square
#AB2793 #AB8127 #27AB3F #2751AB
split-complementary
#AB2793 #51AB27 #27AB81
monochromatic
#47103D #791C68 #AB2793 #D33DB7 #DE6ECA

Accessibility & contrast

On white

6.10
#AB2793 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#AB2793 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2793
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2793#FFFFFF#000000##FFFFFF
##AB27931.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5596
Deuteranopia (green-blind)
#596990
Tritanopia (blue-blind)
#B4305B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ab2793;
/* rgb */ color: rgb(171, 39, 147);
/* oklch */ color: oklch(52.3% 0.200 336.7);
Tailwind
colors: {
  custom: {
    50: '#c870b3',
    500: '#ab2793',
    950: '#000000',
  },
}
SCSS
$custom: #ab2793;
$custom-light: #c870b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2793",
  "rgb": {
    "r": 171,
    "g": 39,
    "b": 147
  },
  "hsl": {
    "h": 310.909,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.52281,
    "c": 0.20037,
    "h": 336.7
  },
  "luminance": 0.12216
}

Semantic roles & 50–950 ramp

primary
#AB2793
secondary
#69C57A
accent
#E66042
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AB2793

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

Preview Lab → · Contrast checker → · Palette generator →

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