#AB3096#AB3096

#AB3096 is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.2% C 0.193 H 335.7°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#AB3096
RGBrgb(171, 48, 150)
HSLhsl(310, 56%, 43%)
HSVhsv(310, 72%, 67%)
CMYKcmyk(0%, 71.9%, 12.3%, 32.9%)
CIE-LABlab(42.73, 60.05, -29.07)
CIE-LCHlch(42.73, 66.71, 334.17°)
OKLaboklab(53.17% 0.1757 -0.0793)
OKLCHoklch(53.17% 0.193 335.7)
XYZxyz(23.3569, 12.9759, 30.1227)
Luminance0.1297 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3096 #30AB45
analogous
#8230AB #AB3096 #AB3058
triadic
#AB3096 #96AB30 #3096AB
tetradic
#AB3096 #AB8230 #30AB45 #3058AB
square
#AB3096 #AB8230 #30AB45 #3058AB
split-complementary
#AB3096 #58AB30 #30AB82
monochromatic
#4B1542 #7B236C #AB3096 #CD4CB7 #DA7BCA

Accessibility & contrast

On white

5.84
#AB3096 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#AB3096 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3096
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3096#FFFFFF#000000##FFFFFF
##AB30961.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315999
Deuteranopia (green-blind)
#5B6B93
Tritanopia (blue-blind)
#B4395F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab3096;
/* rgb */ color: rgb(171, 48, 150);
/* oklch */ color: oklch(53.2% 0.193 335.7);
Tailwind
colors: {
  custom: {
    50: '#c874b5',
    500: '#ab3096',
    950: '#000000',
  },
}
SCSS
$custom: #ab3096;
$custom-light: #c874b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3096",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 150
  },
  "hsl": {
    "h": 310.244,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53171,
    "c": 0.19274,
    "h": 335.7
  },
  "luminance": 0.12974
}

Semantic roles & 50–950 ramp

primary
#AB3096
secondary
#74C382
accent
#DF6248
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AB3096

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

Preview Lab → · Contrast checker → · Palette generator →

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