#AB2754#AB2754

#AB2754 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.8% C 0.170 H 5.8°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#AB2754
RGBrgb(171, 39, 84)
HSLhsl(340, 63%, 41%)
HSVhsv(340, 77%, 67%)
CMYKcmyk(0%, 77.2%, 50.9%, 32.9%)
CIE-LABlab(39.16, 55.22, 6.54)
CIE-LCHlch(39.16, 55.61, 6.75°)
OKLaboklab(49.75% 0.1687 0.0171)
OKLCHoklch(49.75% 0.17 5.8)
XYZxyz(19.1220, 10.7517, 9.4542)
Luminance0.1075 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2754 #27AB7E
analogous
#AB2796 #AB2754 #AB3C27
triadic
#AB2754 #54AB27 #2754AB
tetradic
#AB2754 #96AB27 #27AB7E #3C27AB
square
#AB2754 #96AB27 #27AB7E #3C27AB
split-complementary
#AB2754 #27AB3C #2796AB
monochromatic
#471023 #791C3C #AB2754 #D33D70 #DE6E94

Accessibility & contrast

On white

6.67
#AB2754 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#AB2754 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2754
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2754#FFFFFF#000000##FFFFFF
##AB27541.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484C55
Deuteranopia (green-blind)
#6B6651
Tritanopia (blue-blind)
#BA003A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ab2754;
/* rgb */ color: rgb(171, 39, 84);
/* oklch */ color: oklch(49.8% 0.170 5.8);
Tailwind
colors: {
  custom: {
    50: '#ca6e83',
    500: '#ab2754',
    950: '#000000',
  },
}
SCSS
$custom: #ab2754;
$custom-light: #ca6e83;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2754",
  "rgb": {
    "r": 171,
    "g": 39,
    "b": 84
  },
  "hsl": {
    "h": 339.545,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4975,
    "c": 0.16959,
    "h": 5.8
  },
  "luminance": 0.10749
}

Semantic roles & 50–950 ramp

primary
#AB2754
secondary
#69C5A5
accent
#E6AE42
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080A
muted
#837B7C

Preview Lab

Preview with #AB2754

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

Preview Lab → · Contrast checker → · Palette generator →

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