#AB2790#AB2790

#AB2790 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 52.1% C 0.198 H 337.9°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#AB2790
RGBrgb(171, 39, 144)
HSLhsl(312, 63%, 41%)
HSVhsv(312, 77%, 67%)
CMYKcmyk(0%, 77.2%, 15.8%, 32.9%)
CIE-LABlab(41.41, 62.08, -27.48)
CIE-LCHlch(41.41, 67.89, 336.12°)
OKLaboklab(52.13% 0.1838 -0.0747)
OKLCHoklch(52.13% 0.198 337.9)
XYZxyz(22.5547, 12.1248, 27.5326)
Luminance0.1212 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2790 #27AB42
analogous
#8427AB #AB2790 #AB274E
triadic
#AB2790 #90AB27 #2790AB
tetradic
#AB2790 #AB8427 #27AB42 #274EAB
square
#AB2790 #AB8427 #27AB42 #274EAB
split-complementary
#AB2790 #4EAB27 #27AB84
monochromatic
#47103C #791C66 #AB2790 #D33DB4 #DE6EC7

Accessibility & contrast

On white

6.13
#AB2790 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#AB2790 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2790
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2790#FFFFFF#000000##FFFFFF
##AB27901.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5593
Deuteranopia (green-blind)
#5B698D
Tritanopia (blue-blind)
#B52F59
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ab2790;
/* rgb */ color: rgb(171, 39, 144);
/* oklch */ color: oklch(52.1% 0.198 337.9);
Tailwind
colors: {
  custom: {
    50: '#c870b1',
    500: '#ab2790',
    950: '#000000',
  },
}
SCSS
$custom: #ab2790;
$custom-light: #c870b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2790",
  "rgb": {
    "r": 171,
    "g": 39,
    "b": 144
  },
  "hsl": {
    "h": 312.273,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.52129,
    "c": 0.19835,
    "h": 337.9
  },
  "luminance": 0.12123
}

Semantic roles & 50–950 ramp

primary
#AB2790
secondary
#69C57C
accent
#E66342
background
#FCF7FA
surface
#F9EDF5
border
#D2C8CF
text
#140810
muted
#827B7F

Preview Lab

Preview with #AB2790

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

Preview Lab → · Contrast checker → · Palette generator →

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