#AB2662#AB2662

#AB2662 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.1% C 0.175 H 358.6°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#AB2662
RGBrgb(171, 38, 98)
HSLhsl(333, 64%, 41%)
HSVhsv(333, 78%, 67%)
CMYKcmyk(0%, 77.8%, 42.7%, 32.9%)
CIE-LABlab(39.46, 56.82, -1.91)
CIE-LCHlch(39.46, 56.85, 358.08°)
OKLaboklab(50.11% 0.1746 -0.0043)
OKLCHoklch(50.11% 0.175 358.6)
XYZxyz(19.6938, 10.9286, 12.6253)
Luminance0.1093 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2662 #26AB6F
analogous
#AB26A4 #AB2662 #AB2C26
triadic
#AB2662 #62AB26 #2662AB
tetradic
#AB2662 #A4AB26 #26AB6F #2C26AB
square
#AB2662 #A4AB26 #26AB6F #2C26AB
split-complementary
#AB2662 #26AB2C #26A4AB
monochromatic
#471029 #791B45 #AB2662 #D33B80 #DF6DA0

Accessibility & contrast

On white

6.59
#AB2662 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#AB2662 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2662
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2662#FFFFFF#000000##FFFFFF
##AB26621.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444D63
Deuteranopia (green-blind)
#68665F
Tritanopia (blue-blind)
#B90D41
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab2662;
/* rgb */ color: rgb(171, 38, 98);
/* oklch */ color: oklch(50.1% 0.175 358.6);
Tailwind
colors: {
  custom: {
    50: '#c96e8e',
    500: '#ab2662',
    950: '#000000',
  },
}
SCSS
$custom: #ab2662;
$custom-light: #c96e8e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2662",
  "rgb": {
    "r": 171,
    "g": 38,
    "b": 98
  },
  "hsl": {
    "h": 332.932,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50106,
    "c": 0.17469,
    "h": 358.6
  },
  "luminance": 0.10926
}

Semantic roles & 50–950 ramp

primary
#AB2662
secondary
#68C59B
accent
#E79C41
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AB2662

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

Preview Lab → · Contrast checker → · Palette generator →

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