#AB305C#AB305C

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

Color values

HEX#AB305C
RGBrgb(171, 48, 92)
HSLhsl(339, 56%, 43%)
HSVhsv(339, 72%, 67%)
CMYKcmyk(0%, 71.9%, 46.2%, 32.9%)
CIE-LABlab(40.49, 52.85, 3.38)
CIE-LCHlch(40.49, 52.95, 3.66°)
OKLaboklab(50.8% 0.1617 0.0093)
OKLCHoklch(50.8% 0.162 3.3)
XYZxyz(19.7849, 11.5471, 11.3101)
Luminance0.1154 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB305C #30AB7F
analogous
#AB3099 #AB305C #AB4230
triadic
#AB305C #5CAB30 #305CAB
tetradic
#AB305C #99AB30 #30AB7F #4230AB
square
#AB305C #99AB30 #30AB7F #4230AB
split-complementary
#AB305C #30AB42 #3099AB
monochromatic
#4B1529 #7B2342 #AB305C #CD4C7A #DA7B9D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB305C#FFFFFF#000000##FFFFFF
##AB305C1.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)
#4B505D
Deuteranopia (green-blind)
#6C6859
Tritanopia (blue-blind)
#BA1C42
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab305c;
/* rgb */ color: rgb(171, 48, 92);
/* oklch */ color: oklch(50.8% 0.162 3.3);
Tailwind
colors: {
  custom: {
    50: '#c9728a',
    500: '#ab305c',
    950: '#000000',
  },
}
SCSS
$custom: #ab305c;
$custom-light: #c9728a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab305c",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 92
  },
  "hsl": {
    "h": 338.537,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50802,
    "c": 0.16198,
    "h": 3.3
  },
  "luminance": 0.11545
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB305C

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

Preview Lab → · Contrast checker → · Palette generator →

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