#AB269C#AB269C

#AB269C is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.7% C 0.208 H 333.3°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#AB269C
RGBrgb(171, 38, 156)
HSLhsl(307, 64%, 41%)
HSVhsv(307, 78%, 67%)
CMYKcmyk(0%, 77.8%, 8.8%, 32.9%)
CIE-LABlab(41.92, 64.13, -33.96)
CIE-LCHlch(41.92, 72.56, 332.10°)
OKLaboklab(52.69% 0.1855 -0.0932)
OKLCHoklch(52.69% 0.208 333.3)
XYZxyz(23.4886, 12.4465, 32.6114)
Luminance0.1244 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB269C #26AB35
analogous
#7726AB #AB269C #AB2659
triadic
#AB269C #9CAB26 #269CAB
tetradic
#AB269C #AB7726 #26AB35 #2659AB
square
#AB269C #AB7726 #26AB35 #2659AB
split-complementary
#AB269C #59AB26 #26AB77
monochromatic
#471041 #791B6E #AB269C #D33BC2 #DF6DD2

Accessibility & contrast

On white

6.02
#AB269C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#AB269C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB269C
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB269C#FFFFFF#000000##FFFFFF
##AB269C1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20579F
Deuteranopia (green-blind)
#556A99
Tritanopia (blue-blind)
#B33560
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab269c;
/* rgb */ color: rgb(171, 38, 156);
/* oklch */ color: oklch(52.7% 0.208 333.3);
Tailwind
colors: {
  custom: {
    50: '#c870b9',
    500: '#ab269c',
    950: '#000000',
  },
}
SCSS
$custom: #ab269c;
$custom-light: #c870b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab269c",
  "rgb": {
    "r": 171,
    "g": 38,
    "b": 156
  },
  "hsl": {
    "h": 306.767,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52686,
    "c": 0.2076,
    "h": 333.3
  },
  "luminance": 0.12444
}

Semantic roles & 50–950 ramp

primary
#AB269C
secondary
#68C572
accent
#E75441
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AB269C

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

Preview Lab → · Contrast checker → · Palette generator →

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