#AB3893#AB3893

#AB3893 is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.8% C 0.181 H 337.2°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#AB3893
RGBrgb(171, 56, 147)
HSLhsl(313, 51%, 45%)
HSVhsv(313, 67%, 67%)
CMYKcmyk(0%, 67.3%, 14%, 32.9%)
CIE-LABlab(43.65, 56.61, -25.82)
CIE-LCHlch(43.65, 62.22, 335.48°)
OKLaboklab(53.79% 0.1665 -0.0701)
OKLCHoklch(53.79% 0.181 337.2)
XYZxyz(23.4756, 13.5949, 28.9858)
Luminance0.1359 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3893 #38AB50
analogous
#8A38AB #AB3893 #AB3859
triadic
#AB3893 #93AB38 #3893AB
tetradic
#AB3893 #AB8A38 #38AB50 #3859AB
square
#AB3893 #AB8A38 #38AB50 #3859AB
split-complementary
#AB3893 #59AB38 #38AB8A
monochromatic
#4F1A44 #7D296B #AB3893 #C858B1 #D786C6

Accessibility & contrast

On white

5.65
#AB3893 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#AB3893 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3893
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3893#FFFFFF#000000##FFFFFF
##AB38931.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5C96
Deuteranopia (green-blind)
#606E90
Tritanopia (blue-blind)
#B43E60
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ab3893;
/* rgb */ color: rgb(171, 56, 147);
/* oklch */ color: oklch(53.8% 0.181 337.2);
Tailwind
colors: {
  custom: {
    50: '#c778b3',
    500: '#ab3893',
    950: '#000000',
  },
}
SCSS
$custom: #ab3893;
$custom-light: #c778b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3893",
  "rgb": {
    "r": 171,
    "g": 56,
    "b": 147
  },
  "hsl": {
    "h": 312.522,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53791,
    "c": 0.1806,
    "h": 337.2
  },
  "luminance": 0.13593
}

Semantic roles & 50–950 ramp

primary
#AB3893
secondary
#7DC18C
accent
#DA6B4E
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#130911
muted
#827B80

Preview Lab

Preview with #AB3893

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

Preview Lab → · Contrast checker → · Palette generator →

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