#AB3071#AB3071

#AB3071 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.5% C 0.170 H 352.4°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#AB3071
RGBrgb(171, 48, 113)
HSLhsl(328, 56%, 43%)
HSVhsv(328, 72%, 67%)
CMYKcmyk(0%, 71.9%, 33.9%, 32.9%)
CIE-LABlab(41.16, 55.08, -8.78)
CIE-LCHlch(41.16, 55.77, 350.94°)
OKLaboklab(51.52% 0.1685 -0.0226)
OKLCHoklch(51.52% 0.17 352.4)
XYZxyz(20.8334, 11.9665, 16.8322)
Luminance0.1196 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3071 #30AB6A
analogous
#A730AB #AB3071 #AB3033
triadic
#AB3071 #71AB30 #3071AB
tetradic
#AB3071 #ABA730 #30AB6A #3033AB
square
#AB3071 #ABA730 #30AB6A #3033AB
split-complementary
#AB3071 #33AB30 #30ABA7
monochromatic
#4B1532 #7B2351 #AB3071 #CD4C90 #DA7BAD

Accessibility & contrast

On white

6.19
#AB3071 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#AB3071 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3071
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3071#FFFFFF#000000##FFFFFF
##AB30711.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455373
Deuteranopia (green-blind)
#68696E
Tritanopia (blue-blind)
#B8274C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab3071;
/* rgb */ color: rgb(171, 48, 113);
/* oklch */ color: oklch(51.5% 0.170 352.4);
Tailwind
colors: {
  custom: {
    50: '#c87399',
    500: '#ab3071',
    950: '#000000',
  },
}
SCSS
$custom: #ab3071;
$custom-light: #c87399;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3071",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 113
  },
  "hsl": {
    "h": 328.293,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51521,
    "c": 0.17003,
    "h": 352.4
  },
  "luminance": 0.11964
}

Semantic roles & 50–950 ramp

primary
#AB3071
secondary
#74C399
accent
#DF9048
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AB3071

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

Preview Lab → · Contrast checker → · Palette generator →

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