#AB2193#AB2193

#AB2193 is a mid, highly saturated pink. Relative luminance 0.119; OKLCH L 51.9% C 0.206 H 336.6°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#AB2193
RGBrgb(171, 33, 147)
HSLhsl(310, 68%, 40%)
HSVhsv(310, 81%, 67%)
CMYKcmyk(0%, 80.7%, 14%, 32.9%)
CIE-LABlab(40.98, 64.17, -29.98)
CIE-LCHlch(40.98, 70.82, 334.96°)
OKLaboklab(51.87% 0.189 -0.0818)
OKLCHoklch(51.87% 0.206 336.6)
XYZxyz(22.6053, 11.8544, 28.6957)
Luminance0.1185 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2193 #21AB39
analogous
#7E21AB #AB2193 #AB214E
triadic
#AB2193 #93AB21 #2193AB
tetradic
#AB2193 #AB7E21 #21AB39 #214EAB
square
#AB2193 #AB7E21 #21AB39 #214EAB
split-complementary
#AB2193 #4EAB21 #21AB7E
monochromatic
#440D3B #781767 #AB2193 #D732BB #E165CC

Accessibility & contrast

On white

6.23
#AB2193 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#AB2193 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2193
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2193#FFFFFF#000000##FFFFFF
##AB21931.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255396
Deuteranopia (green-blind)
#576890
Tritanopia (blue-blind)
#B42C5A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab2193;
/* rgb */ color: rgb(171, 33, 147);
/* oklch */ color: oklch(51.9% 0.206 336.6);
Tailwind
colors: {
  custom: {
    50: '#c86eb3',
    500: '#ab2193',
    950: '#000000',
  },
}
SCSS
$custom: #ab2193;
$custom-light: #c86eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2193",
  "rgb": {
    "r": 171,
    "g": 33,
    "b": 147
  },
  "hsl": {
    "h": 310.435,
    "s": 67.647,
    "l": 40
  },
  "oklch": {
    "l": 0.51868,
    "c": 0.20593,
    "h": 336.6
  },
  "luminance": 0.11852
}

Semantic roles & 50–950 ramp

primary
#AB2193
secondary
#61C773
accent
#EB5B3D
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AB2193

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

Preview Lab → · Contrast checker → · Palette generator →

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