#AB2393#AB2393

#AB2393 is a mid, highly saturated pink. Relative luminance 0.120; OKLCH L 52.0% C 0.204 H 336.6°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#AB2393
RGBrgb(171, 35, 147)
HSLhsl(311, 66%, 40%)
HSVhsv(311, 80%, 67%)
CMYKcmyk(0%, 79.5%, 14%, 32.9%)
CIE-LABlab(41.17, 63.64, -29.69)
CIE-LCHlch(41.17, 70.23, 334.99°)
OKLaboklab(52% 0.1874 -0.081)
OKLCHoklch(52% 0.204 336.6)
XYZxyz(22.6625, 11.9687, 28.7148)
Luminance0.1197 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2393 #23AB3B
analogous
#7F23AB #AB2393 #AB234F
triadic
#AB2393 #93AB23 #2393AB
tetradic
#AB2393 #AB7F23 #23AB3B #234FAB
square
#AB2393 #AB7F23 #23AB3B #234FAB
split-complementary
#AB2393 #4FAB23 #23AB7F
monochromatic
#450E3C #781967 #AB2393 #D635B9 #E068CB

Accessibility & contrast

On white

6.19
#AB2393 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#AB2393 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2393
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2393#FFFFFF#000000##FFFFFF
##AB23931.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275496
Deuteranopia (green-blind)
#586890
Tritanopia (blue-blind)
#B42E5A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab2393;
/* rgb */ color: rgb(171, 35, 147);
/* oklch */ color: oklch(52.0% 0.204 336.6);
Tailwind
colors: {
  custom: {
    50: '#c86fb3',
    500: '#ab2393',
    950: '#000000',
  },
}
SCSS
$custom: #ab2393;
$custom-light: #c86fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2393",
  "rgb": {
    "r": 171,
    "g": 35,
    "b": 147
  },
  "hsl": {
    "h": 310.588,
    "s": 66.019,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51999,
    "c": 0.20416,
    "h": 336.6
  },
  "luminance": 0.11967
}

Semantic roles & 50–950 ramp

primary
#AB2393
secondary
#64C675
accent
#E95D3F
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AB2393

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

Preview Lab → · Contrast checker → · Palette generator →

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