#AB2548#AB2548

#AB2548 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.3% C 0.169 H 11.4°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#AB2548
RGBrgb(171, 37, 72)
HSLhsl(344, 64%, 41%)
HSVhsv(344, 78%, 67%)
CMYKcmyk(0%, 78.4%, 57.9%, 32.9%)
CIE-LABlab(38.64, 54.91, 13.46)
CIE-LCHlch(38.64, 56.53, 13.77°)
OKLaboklab(49.27% 0.1661 0.0336)
OKLCHoklch(49.27% 0.169 11.4)
XYZxyz(18.6277, 10.4517, 7.1661)
Luminance0.1045 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2548 #25AB88
analogous
#AB258B #AB2548 #AB4525
triadic
#AB2548 #48AB25 #2548AB
tetradic
#AB2548 #8BAB25 #25AB88 #4525AB
square
#AB2548 #8BAB25 #25AB88 #4525AB
split-complementary
#AB2548 #25AB45 #258BAB
monochromatic
#460F1E #791A33 #AB2548 #D43962 #DF6B8A

Accessibility & contrast

On white

6.80
#AB2548 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#AB2548 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2548
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2548#FFFFFF#000000##FFFFFF
##AB25481.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4A48
Deuteranopia (green-blind)
#6C6545
Tritanopia (blue-blind)
#BB0034
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab2548;
/* rgb */ color: rgb(171, 37, 72);
/* oklch */ color: oklch(49.3% 0.169 11.4);
Tailwind
colors: {
  custom: {
    50: '#cb6d7a',
    500: '#ab2548',
    950: '#000000',
  },
}
SCSS
$custom: #ab2548;
$custom-light: #cb6d7a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2548",
  "rgb": {
    "r": 171,
    "g": 37,
    "b": 72
  },
  "hsl": {
    "h": 344.328,
    "s": 64.423,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49272,
    "c": 0.16947,
    "h": 11.4
  },
  "luminance": 0.10449
}

Semantic roles & 50–950 ramp

primary
#AB2548
secondary
#67C5AD
accent
#E7BC40
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#150809
muted
#837A7B

Preview Lab

Preview with #AB2548

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

Preview Lab → · Contrast checker → · Palette generator →

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