#AB269B#AB269B

#AB269B is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.6% C 0.207 H 333.7°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#AB269B
RGBrgb(171, 38, 155)
HSLhsl(307, 64%, 41%)
HSVhsv(307, 78%, 67%)
CMYKcmyk(0%, 77.8%, 9.4%, 32.9%)
CIE-LABlab(41.86, 63.98, -33.44)
CIE-LCHlch(41.86, 72.19, 332.41°)
OKLaboklab(52.63% 0.1854 -0.0917)
OKLCHoklch(52.63% 0.207 333.7)
XYZxyz(23.4043, 12.4128, 32.1673)
Luminance0.1241 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB269B #26AB36
analogous
#7826AB #AB269B #AB2658
triadic
#AB269B #9BAB26 #269BAB
tetradic
#AB269B #AB7826 #26AB36 #2658AB
square
#AB269B #AB7826 #26AB36 #2658AB
split-complementary
#AB269B #58AB26 #26AB78
monochromatic
#471040 #791B6E #AB269B #D33BC1 #DF6DD1

Accessibility & contrast

On white

6.03
#AB269B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#AB269B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB269B
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB269B#FFFFFF#000000##FFFFFF
##AB269B1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21579E
Deuteranopia (green-blind)
#556998
Tritanopia (blue-blind)
#B3345F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab269b;
/* rgb */ color: rgb(171, 38, 155);
/* oklch */ color: oklch(52.6% 0.207 333.7);
Tailwind
colors: {
  custom: {
    50: '#c870b9',
    500: '#ab269b',
    950: '#000000',
  },
}
SCSS
$custom: #ab269b;
$custom-light: #c870b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab269b",
  "rgb": {
    "r": 171,
    "g": 38,
    "b": 155
  },
  "hsl": {
    "h": 307.218,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52632,
    "c": 0.20689,
    "h": 333.7
  },
  "luminance": 0.12411
}

Semantic roles & 50–950 ramp

primary
#AB269B
secondary
#68C573
accent
#E75541
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AB269B

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

Preview Lab → · Contrast checker → · Palette generator →

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