#AB306D#AB306D

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

Color values

HEX#AB306D
RGBrgb(171, 48, 109)
HSLhsl(330, 56%, 43%)
HSVhsv(330, 72%, 67%)
CMYKcmyk(0%, 71.9%, 36.3%, 32.9%)
CIE-LABlab(41.02, 54.62, -6.50)
CIE-LCHlch(41.02, 55.00, 353.21°)
OKLaboklab(51.37% 0.1674 -0.0165)
OKLCHoklch(51.37% 0.168 354.4)
XYZxyz(20.6131, 11.8784, 15.6723)
Luminance0.1188 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB306D #30AB6E
analogous
#AB30AA #AB306D #AB3130
triadic
#AB306D #6DAB30 #306DAB
tetradic
#AB306D #AAAB30 #30AB6E #3130AB
square
#AB306D #AAAB30 #30AB6E #3130AB
split-complementary
#AB306D #30AB31 #30AAAB
monochromatic
#4B1530 #7B234F #AB306D #CD4C8C #DA7BAA

Accessibility & contrast

On white

6.22
#AB306D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB306D
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB306D#FFFFFF#000000##FFFFFF
##AB306D1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46526F
Deuteranopia (green-blind)
#69696A
Tritanopia (blue-blind)
#B8254A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab306d;
/* rgb */ color: rgb(171, 48, 109);
/* oklch */ color: oklch(51.4% 0.168 354.4);
Tailwind
colors: {
  custom: {
    50: '#c87396',
    500: '#ab306d',
    950: '#000000',
  },
}
SCSS
$custom: #ab306d;
$custom-light: #c87396;
$custom-dark: #000000;
JSON
{
  "hex": "#ab306d",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 109
  },
  "hsl": {
    "h": 330.244,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51372,
    "c": 0.16817,
    "h": 354.4
  },
  "luminance": 0.11876
}

Semantic roles & 50–950 ramp

primary
#AB306D
secondary
#74C39C
accent
#DF9548
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090D
muted
#827B7E

Preview Lab

Preview with #AB306D

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

Preview Lab → · Contrast checker → · Palette generator →

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