#AB305A#AB305A

#AB305A is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.7% C 0.161 H 4.3°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#AB305A
RGBrgb(171, 48, 90)
HSLhsl(340, 56%, 43%)
HSVhsv(340, 72%, 67%)
CMYKcmyk(0%, 71.9%, 47.4%, 32.9%)
CIE-LABlab(40.43, 52.66, 4.56)
CIE-LCHlch(40.43, 52.85, 4.94°)
OKLaboklab(50.74% 0.161 0.0122)
OKLCHoklch(50.74% 0.161 4.3)
XYZxyz(19.6986, 11.5126, 10.8557)
Luminance0.1151 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB305A #30AB81
analogous
#AB3097 #AB305A #AB4330
triadic
#AB305A #5AAB30 #305AAB
tetradic
#AB305A #97AB30 #30AB81 #4330AB
square
#AB305A #97AB30 #30AB81 #4330AB
split-complementary
#AB305A #30AB43 #3097AB
monochromatic
#4B1528 #7B2341 #AB305A #CD4C78 #DA7B9C

Accessibility & contrast

On white

6.36
#AB305A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#AB305A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB305A
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB305A#FFFFFF#000000##FFFFFF
##AB305A1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C505B
Deuteranopia (green-blind)
#6D6857
Tritanopia (blue-blind)
#BA1B41
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab305a;
/* rgb */ color: rgb(171, 48, 90);
/* oklch */ color: oklch(50.7% 0.161 4.3);
Tailwind
colors: {
  custom: {
    50: '#c97288',
    500: '#ab305a',
    950: '#000000',
  },
}
SCSS
$custom: #ab305a;
$custom-light: #c97288;
$custom-dark: #000000;
JSON
{
  "hex": "#ab305a",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 90
  },
  "hsl": {
    "h": 339.512,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50742,
    "c": 0.16145,
    "h": 4.3
  },
  "luminance": 0.1151
}

Semantic roles & 50–950 ramp

primary
#AB305A
secondary
#74C3A8
accent
#DFAC48
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AB305A

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

Preview Lab → · Contrast checker → · Palette generator →

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