#AB305D#AB305D

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

Color values

HEX#AB305D
RGBrgb(171, 48, 93)
HSLhsl(338, 56%, 43%)
HSVhsv(338, 72%, 67%)
CMYKcmyk(0%, 71.9%, 45.6%, 32.9%)
CIE-LABlab(40.52, 52.94, 2.79)
CIE-LCHlch(40.52, 53.02, 3.01°)
OKLaboklab(50.83% 0.1621 0.0078)
OKLCHoklch(50.83% 0.162 2.7)
XYZxyz(19.8289, 11.5647, 11.5418)
Luminance0.1156 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB305D #30AB7E
analogous
#AB309A #AB305D #AB4130
triadic
#AB305D #5DAB30 #305DAB
tetradic
#AB305D #9AAB30 #30AB7E #4130AB
square
#AB305D #9AAB30 #30AB7E #4130AB
split-complementary
#AB305D #30AB41 #309AAB
monochromatic
#4B1529 #7B2343 #AB305D #CD4C7B #DA7B9E

Accessibility & contrast

On white

6.34
#AB305D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB305D
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB305D#FFFFFF#000000##FFFFFF
##AB305D1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B505E
Deuteranopia (green-blind)
#6C685A
Tritanopia (blue-blind)
#BA1C43
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab305d;
/* rgb */ color: rgb(171, 48, 93);
/* oklch */ color: oklch(50.8% 0.162 2.7);
Tailwind
colors: {
  custom: {
    50: '#c9728a',
    500: '#ab305d',
    950: '#000000',
  },
}
SCSS
$custom: #ab305d;
$custom-light: #c9728a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab305d",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 93
  },
  "hsl": {
    "h": 338.049,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50833,
    "c": 0.16227,
    "h": 2.7
  },
  "luminance": 0.11562
}

Semantic roles & 50–950 ramp

primary
#AB305D
secondary
#74C3A6
accent
#DFA848
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AB305D

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

Preview Lab → · Contrast checker → · Palette generator →

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