#AB267B#AB267B

#AB267B is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.1% C 0.186 H 346.7°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#AB267B
RGBrgb(171, 38, 123)
HSLhsl(322, 64%, 41%)
HSVhsv(322, 78%, 67%)
CMYKcmyk(0%, 77.8%, 28.1%, 32.9%)
CIE-LABlab(40.37, 59.60, -16.19)
CIE-LCHlch(40.37, 61.76, 344.80°)
OKLaboklab(51.07% 0.1814 -0.0428)
OKLCHoklch(51.07% 0.186 346.7)
XYZxyz(21.0639, 11.4766, 19.8410)
Luminance0.1147 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB267B #26AB56
analogous
#9826AB #AB267B #AB2639
triadic
#AB267B #7BAB26 #267BAB
tetradic
#AB267B #AB9826 #26AB56 #2639AB
square
#AB267B #AB9826 #26AB56 #2639AB
split-complementary
#AB267B #39AB26 #26AB98
monochromatic
#471033 #791B57 #AB267B #D33B9C #DF6DB6

Accessibility & contrast

On white

6.37
#AB267B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#AB267B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB267B
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB267B#FFFFFF#000000##FFFFFF
##AB267B1.006.373.296.37
#FFFFFF6.371.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A517D
Deuteranopia (green-blind)
#626778
Tritanopia (blue-blind)
#B7214E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab267b;
/* rgb */ color: rgb(171, 38, 123);
/* oklch */ color: oklch(51.1% 0.186 346.7);
Tailwind
colors: {
  custom: {
    50: '#c86fa1',
    500: '#ab267b',
    950: '#000000',
  },
}
SCSS
$custom: #ab267b;
$custom-light: #c86fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab267b",
  "rgb": {
    "r": 171,
    "g": 38,
    "b": 123
  },
  "hsl": {
    "h": 321.654,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51069,
    "c": 0.18636,
    "h": 346.7
  },
  "luminance": 0.11474
}

Semantic roles & 50–950 ramp

primary
#AB267B
secondary
#68C589
accent
#E77D41
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080F
muted
#827B7E

Preview Lab

Preview with #AB267B

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

Preview Lab → · Contrast checker → · Palette generator →

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