#AB2766#AB2766

#AB2766 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.3% C 0.175 H 356.7°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#AB2766
RGBrgb(171, 39, 102)
HSLhsl(331, 63%, 41%)
HSVhsv(331, 77%, 67%)
CMYKcmyk(0%, 77.2%, 40.4%, 32.9%)
CIE-LABlab(39.70, 56.91, -4.08)
CIE-LCHlch(39.70, 57.06, 355.90°)
OKLaboklab(50.32% 0.1749 -0.01)
OKLCHoklch(50.32% 0.175 356.7)
XYZxyz(19.9198, 11.0708, 13.6557)
Luminance0.1107 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2766 #27AB6C
analogous
#AB27A8 #AB2766 #AB2A27
triadic
#AB2766 #66AB27 #2766AB
tetradic
#AB2766 #A8AB27 #27AB6C #2A27AB
square
#AB2766 #A8AB27 #27AB6C #2A27AB
split-complementary
#AB2766 #27AB2A #27A8AB
monochromatic
#47102B #791C48 #AB2766 #D33D84 #DE6EA4

Accessibility & contrast

On white

6.53
#AB2766 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#AB2766 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2766
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2766#FFFFFF#000000##FFFFFF
##AB27661.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434E68
Deuteranopia (green-blind)
#676663
Tritanopia (blue-blind)
#B91343
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab2766;
/* rgb */ color: rgb(171, 39, 102);
/* oklch */ color: oklch(50.3% 0.175 356.7);
Tailwind
colors: {
  custom: {
    50: '#c96f91',
    500: '#ab2766',
    950: '#000000',
  },
}
SCSS
$custom: #ab2766;
$custom-light: #c96f91;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2766",
  "rgb": {
    "r": 171,
    "g": 39,
    "b": 102
  },
  "hsl": {
    "h": 331.364,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50324,
    "c": 0.17521,
    "h": 356.7
  },
  "luminance": 0.11068
}

Semantic roles & 50–950 ramp

primary
#AB2766
secondary
#69C599
accent
#E69842
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AB2766

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

Preview Lab → · Contrast checker → · Palette generator →

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