#AB2199#AB2199

#AB2199 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.2% C 0.210 H 334.4°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#AB2199
RGBrgb(171, 33, 153)
HSLhsl(308, 68%, 40%)
HSVhsv(308, 81%, 67%)
CMYKcmyk(0%, 80.7%, 10.5%, 32.9%)
CIE-LABlab(41.29, 65.03, -33.13)
CIE-LCHlch(41.29, 72.98, 333.00°)
OKLaboklab(52.19% 0.1893 -0.0908)
OKLCHoklch(52.19% 0.21 334.4)
XYZxyz(23.0885, 12.0476, 31.2403)
Luminance0.1205 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2199 #21AB33
analogous
#7821AB #AB2199 #AB2154
triadic
#AB2199 #99AB21 #2199AB
tetradic
#AB2199 #AB7821 #21AB33 #2154AB
square
#AB2199 #AB7821 #21AB33 #2154AB
split-complementary
#AB2199 #54AB21 #21AB78
monochromatic
#440D3D #78176B #AB2199 #D732C2 #E165D1

Accessibility & contrast

On white

6.16
#AB2199 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#AB2199 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2199
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2199#FFFFFF#000000##FFFFFF
##AB21991.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E559C
Deuteranopia (green-blind)
#556896
Tritanopia (blue-blind)
#B3305D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab2199;
/* rgb */ color: rgb(171, 33, 153);
/* oklch */ color: oklch(52.2% 0.210 334.4);
Tailwind
colors: {
  custom: {
    50: '#c86eb7',
    500: '#ab2199',
    950: '#000000',
  },
}
SCSS
$custom: #ab2199;
$custom-light: #c86eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2199",
  "rgb": {
    "r": 171,
    "g": 33,
    "b": 153
  },
  "hsl": {
    "h": 307.826,
    "s": 67.647,
    "l": 40
  },
  "oklch": {
    "l": 0.52188,
    "c": 0.20999,
    "h": 334.4
  },
  "luminance": 0.12046
}

Semantic roles & 50–950 ramp

primary
#AB2199
secondary
#61C76E
accent
#EB543D
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AB2199

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

Preview Lab → · Contrast checker → · Palette generator →

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