#AB307A#AB307A

#AB307A is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.9% C 0.175 H 348.0°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#AB307A
RGBrgb(171, 48, 122)
HSLhsl(324, 56%, 43%)
HSVhsv(324, 72%, 67%)
CMYKcmyk(0%, 71.9%, 28.7%, 32.9%)
CIE-LABlab(41.50, 56.17, -13.85)
CIE-LCHlch(41.50, 57.85, 346.14°)
OKLaboklab(51.88% 0.1709 -0.0365)
OKLCHoklch(51.88% 0.175 348)
XYZxyz(21.3654, 12.1793, 19.6343)
Luminance0.1218 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB307A #30AB61
analogous
#9E30AB #AB307A #AB303D
triadic
#AB307A #7AAB30 #307AAB
tetradic
#AB307A #AB9E30 #30AB61 #303DAB
square
#AB307A #AB9E30 #30AB61 #303DAB
split-complementary
#AB307A #3DAB30 #30AB9E
monochromatic
#4B1536 #7B2358 #AB307A #CD4C99 #DA7BB4

Accessibility & contrast

On white

6.11
#AB307A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#AB307A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB307A
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB307A#FFFFFF#000000##FFFFFF
##AB307A1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41547C
Deuteranopia (green-blind)
#656A77
Tritanopia (blue-blind)
#B72B51
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ab307a;
/* rgb */ color: rgb(171, 48, 122);
/* oklch */ color: oklch(51.9% 0.175 348.0);
Tailwind
colors: {
  custom: {
    50: '#c873a0',
    500: '#ab307a',
    950: '#000000',
  },
}
SCSS
$custom: #ab307a;
$custom-light: #c873a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab307a",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 122
  },
  "hsl": {
    "h": 323.902,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51878,
    "c": 0.17471,
    "h": 348
  },
  "luminance": 0.12177
}

Semantic roles & 50–950 ramp

primary
#AB307A
secondary
#74C393
accent
#DF8548
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AB307A

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

Preview Lab → · Contrast checker → · Palette generator →

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