#AB268F#AB268F

#AB268F is a mid, vivid pink. Relative luminance 0.120; OKLCH L 52.0% C 0.199 H 338.3°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#AB268F
RGBrgb(171, 38, 143)
HSLhsl(313, 64%, 41%)
HSVhsv(313, 78%, 67%)
CMYKcmyk(0%, 77.8%, 16.4%, 32.9%)
CIE-LABlab(41.26, 62.23, -27.11)
CIE-LCHlch(41.26, 67.88, 336.46°)
OKLaboklab(52% 0.1845 -0.0736)
OKLCHoklch(52% 0.199 338.3)
XYZxyz(22.4462, 12.0295, 27.1211)
Luminance0.1203 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB268F #26AB42
analogous
#8426AB #AB268F #AB264C
triadic
#AB268F #8FAB26 #268FAB
tetradic
#AB268F #AB8426 #26AB42 #264CAB
square
#AB268F #AB8426 #26AB42 #264CAB
split-complementary
#AB268F #4CAB26 #26AB84
monochromatic
#47103B #791B65 #AB268F #D33BB3 #DF6DC7

Accessibility & contrast

On white

6.17
#AB268F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#AB268F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB268F
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB268F#FFFFFF#000000##FFFFFF
##AB268F1.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5492
Deuteranopia (green-blind)
#5B698C
Tritanopia (blue-blind)
#B52D59
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab268f;
/* rgb */ color: rgb(171, 38, 143);
/* oklch */ color: oklch(52.0% 0.199 338.3);
Tailwind
colors: {
  custom: {
    50: '#c870b0',
    500: '#ab268f',
    950: '#000000',
  },
}
SCSS
$custom: #ab268f;
$custom-light: #c870b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab268f",
  "rgb": {
    "r": 171,
    "g": 38,
    "b": 143
  },
  "hsl": {
    "h": 312.632,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52004,
    "c": 0.19866,
    "h": 338.3
  },
  "luminance": 0.12027
}

Semantic roles & 50–950 ramp

primary
#AB268F
secondary
#68C57B
accent
#E76441
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AB268F

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

Preview Lab → · Contrast checker → · Palette generator →

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