#AB306C#AB306C

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

Color values

HEX#AB306C
RGBrgb(171, 48, 108)
HSLhsl(331, 56%, 43%)
HSVhsv(331, 72%, 67%)
CMYKcmyk(0%, 71.9%, 36.8%, 32.9%)
CIE-LABlab(40.99, 54.51, -5.93)
CIE-LCHlch(40.99, 54.83, 353.79°)
OKLaboklab(51.33% 0.1671 -0.0149)
OKLCHoklch(51.33% 0.168 354.9)
XYZxyz(20.5596, 11.8570, 15.3904)
Luminance0.1186 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB306C #30AB6F
analogous
#AB30A9 #AB306C #AB3230
triadic
#AB306C #6CAB30 #306CAB
tetradic
#AB306C #A9AB30 #30AB6F #3230AB
square
#AB306C #A9AB30 #30AB6F #3230AB
split-complementary
#AB306C #30AB32 #30A9AB
monochromatic
#4B1530 #7B234E #AB306C #CD4C8B #DA7BAA

Accessibility & contrast

On white

6.23
#AB306C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB306C
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB306C#FFFFFF#000000##FFFFFF
##AB306C1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47526E
Deuteranopia (green-blind)
#696969
Tritanopia (blue-blind)
#B8244A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab306c;
/* rgb */ color: rgb(171, 48, 108);
/* oklch */ color: oklch(51.3% 0.168 354.9);
Tailwind
colors: {
  custom: {
    50: '#c97396',
    500: '#ab306c',
    950: '#000000',
  },
}
SCSS
$custom: #ab306c;
$custom-light: #c97396;
$custom-dark: #000000;
JSON
{
  "hex": "#ab306c",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 108
  },
  "hsl": {
    "h": 330.732,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51335,
    "c": 0.16773,
    "h": 354.9
  },
  "luminance": 0.11855
}

Semantic roles & 50–950 ramp

primary
#AB306C
secondary
#74C39C
accent
#DF9648
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#14090D
muted
#827B7E

Preview Lab

Preview with #AB306C

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

Preview Lab → · Contrast checker → · Palette generator →

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