#AB267E#AB267E

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

Color values

HEX#AB267E
RGBrgb(171, 38, 126)
HSLhsl(320, 64%, 41%)
HSVhsv(320, 78%, 67%)
CMYKcmyk(0%, 77.8%, 26.3%, 32.9%)
CIE-LABlab(40.50, 59.97, -17.86)
CIE-LCHlch(40.50, 62.57, 343.41°)
OKLaboklab(51.2% 0.182 -0.0475)
OKLCHoklch(51.2% 0.188 345.4)
XYZxyz(21.2545, 11.5529, 20.8452)
Luminance0.1155 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB267E #26AB53
analogous
#9526AB #AB267E #AB263B
triadic
#AB267E #7EAB26 #267EAB
tetradic
#AB267E #AB9526 #26AB53 #263BAB
square
#AB267E #AB9526 #26AB53 #263BAB
split-complementary
#AB267E #3BAB26 #26AB95
monochromatic
#471034 #791B59 #AB267E #D33BA0 #DF6DB8

Accessibility & contrast

On white

6.34
#AB267E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB267E
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB267E#FFFFFF#000000##FFFFFF
##AB267E1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385180
Deuteranopia (green-blind)
#61677B
Tritanopia (blue-blind)
#B7234F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab267e;
/* rgb */ color: rgb(171, 38, 126);
/* oklch */ color: oklch(51.2% 0.188 345.4);
Tailwind
colors: {
  custom: {
    50: '#c86fa3',
    500: '#ab267e',
    950: '#000000',
  },
}
SCSS
$custom: #ab267e;
$custom-light: #c86fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab267e",
  "rgb": {
    "r": 171,
    "g": 38,
    "b": 126
  },
  "hsl": {
    "h": 320.301,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.512,
    "c": 0.18807,
    "h": 345.4
  },
  "luminance": 0.11551
}

Semantic roles & 50–950 ramp

primary
#AB267E
secondary
#68C587
accent
#E77941
background
#FCF7FA
surface
#F9EDF3
border
#D2C8CD
text
#14080F
muted
#827B7F

Preview Lab

Preview with #AB267E

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

Preview Lab → · Contrast checker → · Palette generator →

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