#AB268C#AB268C

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

Color values

HEX#AB268C
RGBrgb(171, 38, 140)
HSLhsl(314, 64%, 41%)
HSVhsv(314, 78%, 67%)
CMYKcmyk(0%, 77.8%, 18.1%, 32.9%)
CIE-LABlab(41.12, 61.82, -25.50)
CIE-LCHlch(41.12, 66.87, 337.58°)
OKLaboklab(51.86% 0.1842 -0.069)
OKLCHoklch(51.86% 0.197 339.5)
XYZxyz(22.2219, 11.9398, 25.9402)
Luminance0.1194 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB268C #26AB45
analogous
#8726AB #AB268C #AB2649
triadic
#AB268C #8CAB26 #268CAB
tetradic
#AB268C #AB8726 #26AB45 #2649AB
square
#AB268C #AB8726 #26AB45 #2649AB
split-complementary
#AB268C #49AB26 #26AB87
monochromatic
#47103A #791B63 #AB268C #D33BB0 #DF6DC4

Accessibility & contrast

On white

6.20
#AB268C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB268C
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB268C#FFFFFF#000000##FFFFFF
##AB268C1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab268c;
/* rgb */ color: rgb(171, 38, 140);
/* oklch */ color: oklch(51.9% 0.197 339.5);
Tailwind
colors: {
  custom: {
    50: '#c86fae',
    500: '#ab268c',
    950: '#000000',
  },
}
SCSS
$custom: #ab268c;
$custom-light: #c86fae;
$custom-dark: #000000;
JSON
{
  "hex": "#ab268c",
  "rgb": {
    "r": 171,
    "g": 38,
    "b": 140
  },
  "hsl": {
    "h": 313.985,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51855,
    "c": 0.19669,
    "h": 339.5
  },
  "luminance": 0.11938
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB268C

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

Preview Lab → · Contrast checker → · Palette generator →

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