#AB306A#AB306A

#AB306A is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.3% C 0.167 H 355.9°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#AB306A
RGBrgb(171, 48, 106)
HSLhsl(332, 56%, 43%)
HSVhsv(332, 72%, 67%)
CMYKcmyk(0%, 71.9%, 38%, 32.9%)
CIE-LABlab(40.92, 54.28, -4.78)
CIE-LCHlch(40.92, 54.49, 354.97°)
OKLaboklab(51.26% 0.1664 -0.0119)
OKLCHoklch(51.26% 0.167 355.9)
XYZxyz(20.4544, 11.8149, 14.8362)
Luminance0.1181 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB306A #30AB71
analogous
#AB30A7 #AB306A #AB3330
triadic
#AB306A #6AAB30 #306AAB
tetradic
#AB306A #A7AB30 #30AB71 #3330AB
square
#AB306A #A7AB30 #30AB71 #3330AB
split-complementary
#AB306A #30AB33 #30A7AB
monochromatic
#4B152F #7B234C #AB306A #CD4C88 #DA7BA8

Accessibility & contrast

On white

6.25
#AB306A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#AB306A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB306A
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB306A#FFFFFF#000000##FFFFFF
##AB306A1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47526C
Deuteranopia (green-blind)
#696967
Tritanopia (blue-blind)
#B92349
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab306a;
/* rgb */ color: rgb(171, 48, 106);
/* oklch */ color: oklch(51.3% 0.167 355.9);
Tailwind
colors: {
  custom: {
    50: '#c97294',
    500: '#ab306a',
    950: '#000000',
  },
}
SCSS
$custom: #ab306a;
$custom-light: #c97294;
$custom-dark: #000000;
JSON
{
  "hex": "#ab306a",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 106
  },
  "hsl": {
    "h": 331.707,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51263,
    "c": 0.16687,
    "h": 355.9
  },
  "luminance": 0.11812
}

Semantic roles & 50–950 ramp

primary
#AB306A
secondary
#74C39E
accent
#DF9848
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#14090D
muted
#827B7E

Preview Lab

Preview with #AB306A

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

Preview Lab → · Contrast checker → · Palette generator →

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