#AB267D#AB267D

#AB267D is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.2% C 0.188 H 345.8°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#AB267D
RGBrgb(171, 38, 125)
HSLhsl(321, 64%, 41%)
HSVhsv(321, 78%, 67%)
CMYKcmyk(0%, 77.8%, 26.9%, 32.9%)
CIE-LABlab(40.45, 59.84, -17.31)
CIE-LCHlch(40.45, 62.30, 343.87°)
OKLaboklab(51.16% 0.1818 -0.0459)
OKLCHoklch(51.16% 0.188 345.8)
XYZxyz(21.1903, 11.5272, 20.5071)
Luminance0.1153 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB267D #26AB54
analogous
#9626AB #AB267D #AB263A
triadic
#AB267D #7DAB26 #267DAB
tetradic
#AB267D #AB9626 #26AB54 #263AAB
square
#AB267D #AB9626 #26AB54 #263AAB
split-complementary
#AB267D #3AAB26 #26AB96
monochromatic
#471034 #791B58 #AB267D #D33B9F #DF6DB7

Accessibility & contrast

On white

6.35
#AB267D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#AB267D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB267D
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB267D#FFFFFF#000000##FFFFFF
##AB267D1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39517F
Deuteranopia (green-blind)
#61677A
Tritanopia (blue-blind)
#B7224F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab267d;
/* rgb */ color: rgb(171, 38, 125);
/* oklch */ color: oklch(51.2% 0.188 345.8);
Tailwind
colors: {
  custom: {
    50: '#c86fa2',
    500: '#ab267d',
    950: '#000000',
  },
}
SCSS
$custom: #ab267d;
$custom-light: #c86fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab267d",
  "rgb": {
    "r": 171,
    "g": 38,
    "b": 125
  },
  "hsl": {
    "h": 320.752,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51156,
    "c": 0.1875,
    "h": 345.8
  },
  "luminance": 0.11525
}

Semantic roles & 50–950 ramp

primary
#AB267D
secondary
#68C588
accent
#E77A41
background
#FCF7FA
surface
#F9EDF3
border
#D2C8CD
text
#14080F
muted
#827B7F

Preview Lab

Preview with #AB267D

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

Preview Lab → · Contrast checker → · Palette generator →

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