#AB3081#AB3081

#AB3081 is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.2% C 0.179 H 344.7°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#AB3081
RGBrgb(171, 48, 129)
HSLhsl(320, 56%, 43%)
HSVhsv(320, 72%, 67%)
CMYKcmyk(0%, 71.9%, 24.6%, 32.9%)
CIE-LABlab(41.78, 57.07, -17.74)
CIE-LCHlch(41.78, 59.77, 342.73°)
OKLaboklab(52.18% 0.1724 -0.0472)
OKLCHoklch(52.18% 0.179 344.7)
XYZxyz(21.8148, 12.3591, 22.0013)
Luminance0.1236 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3081 #30AB5A
analogous
#9730AB #AB3081 #AB3043
triadic
#AB3081 #81AB30 #3081AB
tetradic
#AB3081 #AB9730 #30AB5A #3043AB
square
#AB3081 #AB9730 #30AB5A #3043AB
split-complementary
#AB3081 #43AB30 #30AB97
monochromatic
#4B1539 #7B235D #AB3081 #CD4CA1 #DA7BBA

Accessibility & contrast

On white

6.05
#AB3081 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#AB3081 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3081
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3081#FFFFFF#000000##FFFFFF
##AB30811.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5583
Deuteranopia (green-blind)
#636A7E
Tritanopia (blue-blind)
#B62F54
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab3081;
/* rgb */ color: rgb(171, 48, 129);
/* oklch */ color: oklch(52.2% 0.179 344.7);
Tailwind
colors: {
  custom: {
    50: '#c873a5',
    500: '#ab3081',
    950: '#000000',
  },
}
SCSS
$custom: #ab3081;
$custom-light: #c873a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3081",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 129
  },
  "hsl": {
    "h": 320.488,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52176,
    "c": 0.17879,
    "h": 344.7
  },
  "luminance": 0.12357
}

Semantic roles & 50–950 ramp

primary
#AB3081
secondary
#74C38F
accent
#DF7C48
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AB3081

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

Preview Lab → · Contrast checker → · Palette generator →

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