#AB267F#AB267F

#AB267F is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.2% C 0.189 H 344.9°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#AB267F
RGBrgb(171, 38, 127)
HSLhsl(320, 64%, 41%)
HSVhsv(320, 78%, 67%)
CMYKcmyk(0%, 77.8%, 25.7%, 32.9%)
CIE-LABlab(40.54, 60.09, -18.41)
CIE-LCHlch(40.54, 62.85, 342.96°)
OKLaboklab(51.25% 0.1822 -0.049)
OKLCHoklch(51.25% 0.189 344.9)
XYZxyz(21.3194, 11.5788, 21.1868)
Luminance0.1158 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB267F #26AB52
analogous
#9426AB #AB267F #AB263C
triadic
#AB267F #7FAB26 #267FAB
tetradic
#AB267F #AB9426 #26AB52 #263CAB
square
#AB267F #AB9426 #26AB52 #263CAB
split-complementary
#AB267F #3CAB26 #26AB94
monochromatic
#471035 #791B5A #AB267F #D33BA1 #DF6DB9

Accessibility & contrast

On white

6.33
#AB267F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#AB267F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB267F
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB267F#FFFFFF#000000##FFFFFF
##AB267F1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385181
Deuteranopia (green-blind)
#60687C
Tritanopia (blue-blind)
#B72450
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab267f;
/* rgb */ color: rgb(171, 38, 127);
/* oklch */ color: oklch(51.2% 0.189 344.9);
Tailwind
colors: {
  custom: {
    50: '#c86fa4',
    500: '#ab267f',
    950: '#000000',
  },
}
SCSS
$custom: #ab267f;
$custom-light: #c86fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab267f",
  "rgb": {
    "r": 171,
    "g": 38,
    "b": 127
  },
  "hsl": {
    "h": 319.85,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51245,
    "c": 0.18865,
    "h": 344.9
  },
  "luminance": 0.11576
}

Semantic roles & 50–950 ramp

primary
#AB267F
secondary
#68C587
accent
#E77841
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14080F
muted
#827B7F

Preview Lab

Preview with #AB267F

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

Preview Lab → · Contrast checker → · Palette generator →

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