#AB3078#AB3078

#AB3078 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.8% C 0.174 H 348.9°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#AB3078
RGBrgb(171, 48, 120)
HSLhsl(325, 56%, 43%)
HSVhsv(325, 72%, 67%)
CMYKcmyk(0%, 71.9%, 29.8%, 32.9%)
CIE-LABlab(41.42, 55.92, -12.73)
CIE-LCHlch(41.42, 57.35, 347.17°)
OKLaboklab(51.8% 0.1704 -0.0334)
OKLCHoklch(51.8% 0.174 348.9)
XYZxyz(21.2428, 12.1303, 18.9883)
Luminance0.1213 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3078 #30AB63
analogous
#A030AB #AB3078 #AB303B
triadic
#AB3078 #78AB30 #3078AB
tetradic
#AB3078 #ABA030 #30AB63 #303BAB
square
#AB3078 #ABA030 #30AB63 #303BAB
split-complementary
#AB3078 #3BAB30 #30ABA0
monochromatic
#4B1535 #7B2356 #AB3078 #CD4C97 #DA7BB3

Accessibility & contrast

On white

6.13
#AB3078 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#AB3078 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3078
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3078#FFFFFF#000000##FFFFFF
##AB30781.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42547A
Deuteranopia (green-blind)
#666A75
Tritanopia (blue-blind)
#B72A50
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ab3078;
/* rgb */ color: rgb(171, 48, 120);
/* oklch */ color: oklch(51.8% 0.174 348.9);
Tailwind
colors: {
  custom: {
    50: '#c8739f',
    500: '#ab3078',
    950: '#000000',
  },
}
SCSS
$custom: #ab3078;
$custom-light: #c8739f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3078",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 120
  },
  "hsl": {
    "h": 324.878,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51796,
    "c": 0.17362,
    "h": 348.9
  },
  "luminance": 0.12128
}

Semantic roles & 50–950 ramp

primary
#AB3078
secondary
#74C395
accent
#DF8748
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AB3078

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

Preview Lab → · Contrast checker → · Palette generator →

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