#AB305F#AB305F

#AB305F is a mid, vivid pink. Relative luminance 0.116; OKLCH L 50.9% C 0.163 H 1.7°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#AB305F
RGBrgb(171, 48, 95)
HSLhsl(337, 56%, 43%)
HSVhsv(337, 72%, 67%)
CMYKcmyk(0%, 71.9%, 44.4%, 32.9%)
CIE-LABlab(40.57, 53.14, 1.61)
CIE-LCHlch(40.57, 53.16, 1.74°)
OKLaboklab(50.9% 0.1628 0.0048)
OKLCHoklch(50.9% 0.163 1.7)
XYZxyz(19.9186, 11.6006, 12.0145)
Luminance0.1160 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB305F #30AB7C
analogous
#AB309C #AB305F #AB3E30
triadic
#AB305F #5FAB30 #305FAB
tetradic
#AB305F #9CAB30 #30AB7C #3E30AB
square
#AB305F #9CAB30 #30AB7C #3E30AB
split-complementary
#AB305F #30AB3E #309CAB
monochromatic
#4B152A #7B2344 #AB305F #CD4C7D #DA7BA0

Accessibility & contrast

On white

6.33
#AB305F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#AB305F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB305F
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB305F#FFFFFF#000000##FFFFFF
##AB305F1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5060
Deuteranopia (green-blind)
#6C685C
Tritanopia (blue-blind)
#BA1D44
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab305f;
/* rgb */ color: rgb(171, 48, 95);
/* oklch */ color: oklch(50.9% 0.163 1.7);
Tailwind
colors: {
  custom: {
    50: '#c9728c',
    500: '#ab305f',
    950: '#000000',
  },
}
SCSS
$custom: #ab305f;
$custom-light: #c9728c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab305f",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 95
  },
  "hsl": {
    "h": 337.073,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50895,
    "c": 0.16286,
    "h": 1.7
  },
  "luminance": 0.11598
}

Semantic roles & 50–950 ramp

primary
#AB305F
secondary
#74C3A5
accent
#DFA648
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090C
muted
#837B7D

Preview Lab

Preview with #AB305F

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

Preview Lab → · Contrast checker → · Palette generator →

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