#AB2691#AB2691

#AB2691 is a mid, highly saturated pink. Relative luminance 0.121; OKLCH L 52.1% C 0.200 H 337.5°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#AB2691
RGBrgb(171, 38, 145)
HSLhsl(312, 64%, 41%)
HSVhsv(312, 78%, 67%)
CMYKcmyk(0%, 77.8%, 15.2%, 32.9%)
CIE-LABlab(41.36, 62.52, -28.17)
CIE-LCHlch(41.36, 68.57, 335.74°)
OKLaboklab(52.11% 0.1847 -0.0766)
OKLCHoklch(52.11% 0.2 337.5)
XYZxyz(22.5990, 12.0907, 27.9261)
Luminance0.1209 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2691 #26AB40
analogous
#8226AB #AB2691 #AB264F
triadic
#AB2691 #91AB26 #2691AB
tetradic
#AB2691 #AB8226 #26AB40 #264FAB
square
#AB2691 #AB8226 #26AB40 #264FAB
split-complementary
#AB2691 #4FAB26 #26AB82
monochromatic
#47103C #791B67 #AB2691 #D33BB6 #DF6DC8

Accessibility & contrast

On white

6.14
#AB2691 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2691
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2691#FFFFFF#000000##FFFFFF
##AB26911.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5594
Deuteranopia (green-blind)
#5A698E
Tritanopia (blue-blind)
#B42F5A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ab2691;
/* rgb */ color: rgb(171, 38, 145);
/* oklch */ color: oklch(52.1% 0.200 337.5);
Tailwind
colors: {
  custom: {
    50: '#c870b1',
    500: '#ab2691',
    950: '#000000',
  },
}
SCSS
$custom: #ab2691;
$custom-light: #c870b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2691",
  "rgb": {
    "r": 171,
    "g": 38,
    "b": 145
  },
  "hsl": {
    "h": 311.729,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52106,
    "c": 0.2,
    "h": 337.5
  },
  "luminance": 0.12088
}

Semantic roles & 50–950 ramp

primary
#AB2691
secondary
#68C57A
accent
#E76141
background
#FCF7FA
surface
#F9EDF5
border
#D2C8CF
text
#140811
muted
#827B80

Preview Lab

Preview with #AB2691

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

Preview Lab → · Contrast checker → · Palette generator →

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