#AB306E#AB306E

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

Color values

HEX#AB306E
RGBrgb(171, 48, 110)
HSLhsl(330, 56%, 43%)
HSVhsv(330, 72%, 67%)
CMYKcmyk(0%, 71.9%, 35.7%, 32.9%)
CIE-LABlab(41.06, 54.73, -7.07)
CIE-LCHlch(41.06, 55.19, 352.64°)
OKLaboklab(51.41% 0.1677 -0.018)
OKLCHoklch(51.41% 0.169 353.9)
XYZxyz(20.6673, 11.9001, 15.9574)
Luminance0.1190 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB306E #30AB6D
analogous
#AA30AB #AB306E #AB3031
triadic
#AB306E #6EAB30 #306EAB
tetradic
#AB306E #ABAA30 #30AB6D #3031AB
square
#AB306E #ABAA30 #30AB6D #3031AB
split-complementary
#AB306E #31AB30 #30ABAA
monochromatic
#4B1531 #7B234F #AB306E #CD4C8D #DA7BAB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB306E#FFFFFF#000000##FFFFFF
##AB306E1.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)
#465270
Deuteranopia (green-blind)
#68696B
Tritanopia (blue-blind)
#B8254B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab306e;
/* rgb */ color: rgb(171, 48, 110);
/* oklch */ color: oklch(51.4% 0.169 353.9);
Tailwind
colors: {
  custom: {
    50: '#c87397',
    500: '#ab306e',
    950: '#000000',
  },
}
SCSS
$custom: #ab306e;
$custom-light: #c87397;
$custom-dark: #000000;
JSON
{
  "hex": "#ab306e",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 110
  },
  "hsl": {
    "h": 329.756,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51408,
    "c": 0.16862,
    "h": 353.9
  },
  "luminance": 0.11898
}

Semantic roles & 50–950 ramp

primary
#AB306E
secondary
#74C39B
accent
#DF9348
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090D
muted
#827B7E

Preview Lab

Preview with #AB306E

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

Preview Lab → · Contrast checker → · Palette generator →

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