#AB305B#AB305B

#AB305B is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.8% C 0.162 H 3.8°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#AB305B
RGBrgb(171, 48, 91)
HSLhsl(339, 56%, 43%)
HSVhsv(339, 72%, 67%)
CMYKcmyk(0%, 71.9%, 46.8%, 32.9%)
CIE-LABlab(40.46, 52.75, 3.97)
CIE-LCHlch(40.46, 52.90, 4.30°)
OKLaboklab(50.77% 0.1614 0.0107)
OKLCHoklch(50.77% 0.162 3.8)
XYZxyz(19.7414, 11.5297, 11.0814)
Luminance0.1153 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB305B #30AB80
analogous
#AB3098 #AB305B #AB4230
triadic
#AB305B #5BAB30 #305BAB
tetradic
#AB305B #98AB30 #30AB80 #4230AB
square
#AB305B #98AB30 #30AB80 #4230AB
split-complementary
#AB305B #30AB42 #3098AB
monochromatic
#4B1528 #7B2342 #AB305B #CD4C79 #DA7B9C

Accessibility & contrast

On white

6.35
#AB305B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#AB305B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB305B
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB305B#FFFFFF#000000##FFFFFF
##AB305B1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C505C
Deuteranopia (green-blind)
#6C6858
Tritanopia (blue-blind)
#BA1B42
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab305b;
/* rgb */ color: rgb(171, 48, 91);
/* oklch */ color: oklch(50.8% 0.162 3.8);
Tailwind
colors: {
  custom: {
    50: '#c97289',
    500: '#ab305b',
    950: '#000000',
  },
}
SCSS
$custom: #ab305b;
$custom-light: #c97289;
$custom-dark: #000000;
JSON
{
  "hex": "#ab305b",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 91
  },
  "hsl": {
    "h": 339.024,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50772,
    "c": 0.16172,
    "h": 3.8
  },
  "luminance": 0.11527
}

Semantic roles & 50–950 ramp

primary
#AB305B
secondary
#74C3A7
accent
#DFAB48
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AB305B

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

Preview Lab → · Contrast checker → · Palette generator →

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