#AB268D#AB268D

#AB268D is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.9% C 0.197 H 339.1°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#AB268D
RGBrgb(171, 38, 141)
HSLhsl(314, 64%, 41%)
HSVhsv(314, 78%, 67%)
CMYKcmyk(0%, 77.8%, 17.5%, 32.9%)
CIE-LABlab(41.17, 61.95, -26.04)
CIE-LCHlch(41.17, 67.20, 337.20°)
OKLaboklab(51.9% 0.1843 -0.0705)
OKLCHoklch(51.9% 0.197 339.1)
XYZxyz(22.2960, 11.9695, 26.3303)
Luminance0.1197 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB268D #26AB44
analogous
#8626AB #AB268D #AB264A
triadic
#AB268D #8DAB26 #268DAB
tetradic
#AB268D #AB8626 #26AB44 #264AAB
square
#AB268D #AB8626 #26AB44 #264AAB
split-complementary
#AB268D #4AAB26 #26AB86
monochromatic
#47103A #791B64 #AB268D #D33BB1 #DF6DC5

Accessibility & contrast

On white

6.19
#AB268D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#AB268D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB268D
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB268D#FFFFFF#000000##FFFFFF
##AB268D1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5490
Deuteranopia (green-blind)
#5B688A
Tritanopia (blue-blind)
#B52C57
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab268d;
/* rgb */ color: rgb(171, 38, 141);
/* oklch */ color: oklch(51.9% 0.197 339.1);
Tailwind
colors: {
  custom: {
    50: '#c86fae',
    500: '#ab268d',
    950: '#000000',
  },
}
SCSS
$custom: #ab268d;
$custom-light: #c86fae;
$custom-dark: #000000;
JSON
{
  "hex": "#ab268d",
  "rgb": {
    "r": 171,
    "g": 38,
    "b": 141
  },
  "hsl": {
    "h": 313.534,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51904,
    "c": 0.19735,
    "h": 339.1
  },
  "luminance": 0.11967
}

Semantic roles & 50–950 ramp

primary
#AB268D
secondary
#68C57D
accent
#E76641
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AB268D

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

Preview Lab → · Contrast checker → · Palette generator →

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