#AB2E54#AB2E54

#AB2E54 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.4% C 0.162 H 7.1°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#AB2E54
RGBrgb(171, 46, 84)
HSLhsl(342, 58%, 43%)
HSVhsv(342, 73%, 67%)
CMYKcmyk(0%, 73.1%, 50.9%, 32.9%)
CIE-LABlab(40.01, 52.85, 7.74)
CIE-LCHlch(40.01, 53.42, 8.33°)
OKLaboklab(50.38% 0.1611 0.0201)
OKLCHoklch(50.38% 0.162 7.1)
XYZxyz(19.3735, 11.2546, 9.5380)
Luminance0.1125 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2E54 #2EAB85
analogous
#AB2E93 #AB2E54 #AB462E
triadic
#AB2E54 #54AB2E #2E54AB
tetradic
#AB2E54 #93AB2E #2EAB85 #462EAB
square
#AB2E54 #93AB2E #2EAB85 #462EAB
split-complementary
#AB2E54 #2EAB46 #2E93AB
monochromatic
#4B1425 #7B213C #AB2E54 #CE4871 #DB7996

Accessibility & contrast

On white

6.46
#AB2E54 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#AB2E54 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2E54
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2E54#FFFFFF#000000##FFFFFF
##AB2E541.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4E55
Deuteranopia (green-blind)
#6D6751
Tritanopia (blue-blind)
#BA133E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab2e54;
/* rgb */ color: rgb(171, 46, 84);
/* oklch */ color: oklch(50.4% 0.162 7.1);
Tailwind
colors: {
  custom: {
    50: '#ca7183',
    500: '#ab2e54',
    950: '#000000',
  },
}
SCSS
$custom: #ab2e54;
$custom-light: #ca7183;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2e54",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 84
  },
  "hsl": {
    "h": 341.76,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50376,
    "c": 0.16234,
    "h": 7.1
  },
  "luminance": 0.11252
}

Semantic roles & 50–950 ramp

primary
#AB2E54
secondary
#72C3AA
accent
#E1B247
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080A
muted
#837B7C

Preview Lab

Preview with #AB2E54

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

Preview Lab → · Contrast checker → · Palette generator →

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