#AB268B#AB268B

#AB268B is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.8% C 0.196 H 339.9°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#AB268B
RGBrgb(171, 38, 139)
HSLhsl(314, 64%, 41%)
HSVhsv(314, 78%, 67%)
CMYKcmyk(0%, 77.8%, 18.7%, 32.9%)
CIE-LABlab(41.07, 61.68, -24.96)
CIE-LCHlch(41.07, 66.54, 337.97°)
OKLaboklab(51.81% 0.1841 -0.0675)
OKLCHoklch(51.81% 0.196 339.9)
XYZxyz(22.1485, 11.9105, 25.5536)
Luminance0.1191 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB268B #26AB46
analogous
#8826AB #AB268B #AB2648
triadic
#AB268B #8BAB26 #268BAB
tetradic
#AB268B #AB8826 #26AB46 #2648AB
square
#AB268B #AB8826 #26AB46 #2648AB
split-complementary
#AB268B #48AB26 #26AB88
monochromatic
#47103A #791B62 #AB268B #D33BAF #DF6DC3

Accessibility & contrast

On white

6.21
#AB268B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#AB268B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB268B
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB268B#FFFFFF#000000##FFFFFF
##AB268B1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30538E
Deuteranopia (green-blind)
#5C6888
Tritanopia (blue-blind)
#B52B56
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab268b;
/* rgb */ color: rgb(171, 38, 139);
/* oklch */ color: oklch(51.8% 0.196 339.9);
Tailwind
colors: {
  custom: {
    50: '#c86fad',
    500: '#ab268b',
    950: '#000000',
  },
}
SCSS
$custom: #ab268b;
$custom-light: #c86fad;
$custom-dark: #000000;
JSON
{
  "hex": "#ab268b",
  "rgb": {
    "r": 171,
    "g": 38,
    "b": 139
  },
  "hsl": {
    "h": 314.436,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51806,
    "c": 0.19605,
    "h": 339.9
  },
  "luminance": 0.11908
}

Semantic roles & 50–950 ramp

primary
#AB268B
secondary
#68C57E
accent
#E76941
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AB268B

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

Preview Lab → · Contrast checker → · Palette generator →

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