#AB3054#AB3054

#AB3054 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.6% C 0.160 H 7.5°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#AB3054
RGBrgb(171, 48, 84)
HSLhsl(342, 56%, 43%)
HSVhsv(342, 72%, 67%)
CMYKcmyk(0%, 71.9%, 50.9%, 32.9%)
CIE-LABlab(40.27, 52.12, 8.11)
CIE-LCHlch(40.27, 52.75, 8.85°)
OKLaboklab(50.57% 0.1587 0.021)
OKLCHoklch(50.57% 0.16 7.5)
XYZxyz(19.4534, 11.4145, 9.5646)
Luminance0.1141 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3054 #30AB87
analogous
#AB3091 #AB3054 #AB4930
triadic
#AB3054 #54AB30 #3054AB
tetradic
#AB3054 #91AB30 #30AB87 #4930AB
square
#AB3054 #91AB30 #30AB87 #4930AB
split-complementary
#AB3054 #30AB49 #3091AB
monochromatic
#4B1525 #7B233D #AB3054 #CD4C71 #DA7B97

Accessibility & contrast

On white

6.40
#AB3054 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#AB3054 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3054
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3054#FFFFFF#000000##FFFFFF
##AB30541.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4F55
Deuteranopia (green-blind)
#6E6851
Tritanopia (blue-blind)
#BA173F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab3054;
/* rgb */ color: rgb(171, 48, 84);
/* oklch */ color: oklch(50.6% 0.160 7.5);
Tailwind
colors: {
  custom: {
    50: '#ca7283',
    500: '#ab3054',
    950: '#000000',
  },
}
SCSS
$custom: #ab3054;
$custom-light: #ca7283;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3054",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 84
  },
  "hsl": {
    "h": 342.439,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50571,
    "c": 0.16012,
    "h": 7.5
  },
  "luminance": 0.11412
}

Semantic roles & 50–950 ramp

primary
#AB3054
secondary
#74C3AC
accent
#DFB348
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080A
muted
#837B7C

Preview Lab

Preview with #AB3054

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

Preview Lab → · Contrast checker → · Palette generator →

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