#AB306F#AB306F

#AB306F is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.4% C 0.169 H 353.4°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#AB306F
RGBrgb(171, 48, 111)
HSLhsl(329, 56%, 43%)
HSVhsv(329, 72%, 67%)
CMYKcmyk(0%, 71.9%, 35.1%, 32.9%)
CIE-LABlab(41.09, 54.85, -7.64)
CIE-LCHlch(41.09, 55.38, 352.07°)
OKLaboklab(51.45% 0.1679 -0.0195)
OKLCHoklch(51.45% 0.169 353.4)
XYZxyz(20.7220, 11.9220, 16.2458)
Luminance0.1192 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB306F #30AB6C
analogous
#A930AB #AB306F #AB3032
triadic
#AB306F #6FAB30 #306FAB
tetradic
#AB306F #ABA930 #30AB6C #3032AB
square
#AB306F #ABA930 #30AB6C #3032AB
split-complementary
#AB306F #32AB30 #30ABA9
monochromatic
#4B1531 #7B2350 #AB306F #CD4C8E #DA7BAC

Accessibility & contrast

On white

6.21
#AB306F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#AB306F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB306F
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB306F#FFFFFF#000000##FFFFFF
##AB306F1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465371
Deuteranopia (green-blind)
#68696C
Tritanopia (blue-blind)
#B8264B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab306f;
/* rgb */ color: rgb(171, 48, 111);
/* oklch */ color: oklch(51.4% 0.169 353.4);
Tailwind
colors: {
  custom: {
    50: '#c87398',
    500: '#ab306f',
    950: '#000000',
  },
}
SCSS
$custom: #ab306f;
$custom-light: #c87398;
$custom-dark: #000000;
JSON
{
  "hex": "#ab306f",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 111
  },
  "hsl": {
    "h": 329.268,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51446,
    "c": 0.16908,
    "h": 353.4
  },
  "luminance": 0.1192
}

Semantic roles & 50–950 ramp

primary
#AB306F
secondary
#74C39A
accent
#DF9248
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090D
muted
#827B7E

Preview Lab

Preview with #AB306F

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

Preview Lab → · Contrast checker → · Palette generator →

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