#AB306B#AB306B

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

Color values

HEX#AB306B
RGBrgb(171, 48, 107)
HSLhsl(331, 56%, 43%)
HSVhsv(331, 72%, 67%)
CMYKcmyk(0%, 71.9%, 37.4%, 32.9%)
CIE-LABlab(40.95, 54.39, -5.35)
CIE-LCHlch(40.95, 54.66, 354.38°)
OKLaboklab(51.3% 0.1668 -0.0134)
OKLCHoklch(51.3% 0.167 355.4)
XYZxyz(20.5067, 11.8358, 15.1117)
Luminance0.1183 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB306B #30AB70
analogous
#AB30A8 #AB306B #AB3330
triadic
#AB306B #6BAB30 #306BAB
tetradic
#AB306B #A8AB30 #30AB70 #3330AB
square
#AB306B #A8AB30 #30AB70 #3330AB
split-complementary
#AB306B #30AB33 #30A8AB
monochromatic
#4B152F #7B234D #AB306B #CD4C89 #DA7BA9

Accessibility & contrast

On white

6.24
#AB306B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#AB306B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB306B
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB306B#FFFFFF#000000##FFFFFF
##AB306B1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47526D
Deuteranopia (green-blind)
#696968
Tritanopia (blue-blind)
#B92449
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab306b;
/* rgb */ color: rgb(171, 48, 107);
/* oklch */ color: oklch(51.3% 0.167 355.4);
Tailwind
colors: {
  custom: {
    50: '#c97395',
    500: '#ab306b',
    950: '#000000',
  },
}
SCSS
$custom: #ab306b;
$custom-light: #c97395;
$custom-dark: #000000;
JSON
{
  "hex": "#ab306b",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 107
  },
  "hsl": {
    "h": 331.22,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51299,
    "c": 0.1673,
    "h": 355.4
  },
  "luminance": 0.11833
}

Semantic roles & 50–950 ramp

primary
#AB306B
secondary
#74C39D
accent
#DF9748
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#14090D
muted
#827B7E

Preview Lab

Preview with #AB306B

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

Preview Lab → · Contrast checker → · Palette generator →

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