#AB2751#AB2751

#AB2751 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.7% C 0.169 H 7.3°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#AB2751
RGBrgb(171, 39, 81)
HSLhsl(341, 63%, 41%)
HSVhsv(341, 77%, 67%)
CMYKcmyk(0%, 77.2%, 52.6%, 32.9%)
CIE-LABlab(39.08, 54.97, 8.34)
CIE-LCHlch(39.08, 55.60, 8.62°)
OKLaboklab(49.67% 0.1676 0.0215)
OKLCHoklch(49.67% 0.169 7.3)
XYZxyz(19.0070, 10.7057, 8.8485)
Luminance0.1070 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2751 #27AB81
analogous
#AB2793 #AB2751 #AB3F27
triadic
#AB2751 #51AB27 #2751AB
tetradic
#AB2751 #93AB27 #27AB81 #3F27AB
square
#AB2751 #93AB27 #27AB81 #3F27AB
split-complementary
#AB2751 #27AB3F #2793AB
monochromatic
#471022 #791C39 #AB2751 #D33D6C #DE6E92

Accessibility & contrast

On white

6.69
#AB2751 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#AB2751 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2751
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2751#FFFFFF#000000##FFFFFF
##AB27511.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494B52
Deuteranopia (green-blind)
#6B664E
Tritanopia (blue-blind)
#BB0039
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ab2751;
/* rgb */ color: rgb(171, 39, 81);
/* oklch */ color: oklch(49.7% 0.169 7.3);
Tailwind
colors: {
  custom: {
    50: '#ca6e81',
    500: '#ab2751',
    950: '#000000',
  },
}
SCSS
$custom: #ab2751;
$custom-light: #ca6e81;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2751",
  "rgb": {
    "r": 171,
    "g": 39,
    "b": 81
  },
  "hsl": {
    "h": 340.909,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49667,
    "c": 0.16896,
    "h": 7.3
  },
  "luminance": 0.10703
}

Semantic roles & 50–950 ramp

primary
#AB2751
secondary
#69C5A8
accent
#E6B242
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14080A
muted
#837B7C

Preview Lab

Preview with #AB2751

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

Preview Lab → · Contrast checker → · Palette generator →

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