#AB2392#AB2392

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

Color values

HEX#AB2392
RGBrgb(171, 35, 146)
HSLhsl(311, 66%, 40%)
HSVhsv(311, 80%, 67%)
CMYKcmyk(0%, 79.5%, 14.6%, 32.9%)
CIE-LABlab(41.12, 63.50, -29.16)
CIE-LCHlch(41.12, 69.87, 335.33°)
OKLaboklab(51.95% 0.1873 -0.0794)
OKLCHoklch(51.95% 0.203 337)
XYZxyz(22.5844, 11.9375, 28.3033)
Luminance0.1193 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2392 #23AB3C
analogous
#8023AB #AB2392 #AB234E
triadic
#AB2392 #92AB23 #2392AB
tetradic
#AB2392 #AB8023 #23AB3C #234EAB
square
#AB2392 #AB8023 #23AB3C #234EAB
split-complementary
#AB2392 #4EAB23 #23AB80
monochromatic
#450E3B #781967 #AB2392 #D635B8 #E068CA

Accessibility & contrast

On white

6.20
#AB2392 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2392
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2392#FFFFFF#000000##FFFFFF
##AB23921.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285495
Deuteranopia (green-blind)
#58688F
Tritanopia (blue-blind)
#B42D59
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab2392;
/* rgb */ color: rgb(171, 35, 146);
/* oklch */ color: oklch(51.9% 0.203 337.0);
Tailwind
colors: {
  custom: {
    50: '#c86fb2',
    500: '#ab2392',
    950: '#000000',
  },
}
SCSS
$custom: #ab2392;
$custom-light: #c86fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2392",
  "rgb": {
    "r": 171,
    "g": 35,
    "b": 146
  },
  "hsl": {
    "h": 311.029,
    "s": 66.019,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51947,
    "c": 0.20349,
    "h": 337
  },
  "luminance": 0.11935
}

Semantic roles & 50–950 ramp

primary
#AB2392
secondary
#64C676
accent
#E95E3F
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AB2392

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

Preview Lab → · Contrast checker → · Palette generator →

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