#AB3094#AB3094

#AB3094 is a mid, vivid pink. Relative luminance 0.129; OKLCH L 53.1% C 0.191 H 336.5°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#AB3094
RGBrgb(171, 48, 148)
HSLhsl(311, 56%, 43%)
HSVhsv(311, 72%, 67%)
CMYKcmyk(0%, 71.9%, 13.5%, 32.9%)
CIE-LABlab(42.63, 59.75, -28.01)
CIE-LCHlch(42.63, 65.99, 334.88°)
OKLaboklab(53.07% 0.1755 -0.0762)
OKLCHoklch(53.07% 0.191 336.5)
XYZxyz(23.1972, 12.9120, 29.2818)
Luminance0.1291 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3094 #30AB47
analogous
#8530AB #AB3094 #AB3056
triadic
#AB3094 #94AB30 #3094AB
tetradic
#AB3094 #AB8530 #30AB47 #3056AB
square
#AB3094 #AB8530 #30AB47 #3056AB
split-complementary
#AB3094 #56AB30 #30AB85
monochromatic
#4B1541 #7B236B #AB3094 #CD4CB4 #DA7BC8

Accessibility & contrast

On white

5.86
#AB3094 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#AB3094 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3094
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3094#FFFFFF#000000##FFFFFF
##AB30941.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325997
Deuteranopia (green-blind)
#5C6B91
Tritanopia (blue-blind)
#B4385E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab3094;
/* rgb */ color: rgb(171, 48, 148);
/* oklch */ color: oklch(53.1% 0.191 336.5);
Tailwind
colors: {
  custom: {
    50: '#c874b3',
    500: '#ab3094',
    950: '#000000',
  },
}
SCSS
$custom: #ab3094;
$custom-light: #c874b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3094",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 148
  },
  "hsl": {
    "h": 311.22,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53069,
    "c": 0.19131,
    "h": 336.5
  },
  "luminance": 0.1291
}

Semantic roles & 50–950 ramp

primary
#AB3094
secondary
#74C383
accent
#DF6548
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AB3094

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

Preview Lab → · Contrast checker → · Palette generator →

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