#AB3079#AB3079

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

Color values

HEX#AB3079
RGBrgb(171, 48, 121)
HSLhsl(324, 56%, 43%)
HSVhsv(324, 72%, 67%)
CMYKcmyk(0%, 71.9%, 29.2%, 32.9%)
CIE-LABlab(41.46, 56.05, -13.30)
CIE-LCHlch(41.46, 57.60, 346.65°)
OKLaboklab(51.84% 0.1706 -0.0349)
OKLCHoklch(51.84% 0.174 348.4)
XYZxyz(21.3038, 12.1547, 19.3096)
Luminance0.1215 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3079 #30AB62
analogous
#9F30AB #AB3079 #AB303C
triadic
#AB3079 #79AB30 #3079AB
tetradic
#AB3079 #AB9F30 #30AB62 #303CAB
square
#AB3079 #AB9F30 #30AB62 #303CAB
split-complementary
#AB3079 #3CAB30 #30AB9F
monochromatic
#4B1535 #7B2357 #AB3079 #CD4C98 #DA7BB4

Accessibility & contrast

On white

6.12
#AB3079 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB3079
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3079#FFFFFF#000000##FFFFFF
##AB30791.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42547B
Deuteranopia (green-blind)
#656A76
Tritanopia (blue-blind)
#B72B50
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ab3079;
/* rgb */ color: rgb(171, 48, 121);
/* oklch */ color: oklch(51.8% 0.174 348.4);
Tailwind
colors: {
  custom: {
    50: '#c8739f',
    500: '#ab3079',
    950: '#000000',
  },
}
SCSS
$custom: #ab3079;
$custom-light: #c8739f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3079",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 121
  },
  "hsl": {
    "h": 324.39,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51837,
    "c": 0.17417,
    "h": 348.4
  },
  "luminance": 0.12152
}

Semantic roles & 50–950 ramp

primary
#AB3079
secondary
#74C394
accent
#DF8648
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AB3079

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

Preview Lab → · Contrast checker → · Palette generator →

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