#AB2E74#AB2E74

#AB2E74 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.4% C 0.174 H 350.6°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#AB2E74
RGBrgb(171, 46, 116)
HSLhsl(326, 58%, 43%)
HSVhsv(326, 73%, 67%)
CMYKcmyk(0%, 73.1%, 32.2%, 32.9%)
CIE-LABlab(41.02, 56.15, -10.87)
CIE-LCHlch(41.02, 57.19, 349.05°)
OKLaboklab(51.45% 0.1716 -0.0283)
OKLCHoklch(51.45% 0.174 350.6)
XYZxyz(20.9251, 11.8753, 17.7098)
Luminance0.1187 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2E74 #2EAB65
analogous
#A42EAB #AB2E74 #AB2E35
triadic
#AB2E74 #74AB2E #2E74AB
tetradic
#AB2E74 #ABA42E #2EAB65 #2E35AB
square
#AB2E74 #ABA42E #2EAB65 #2E35AB
split-complementary
#AB2E74 #35AB2E #2EABA4
monochromatic
#4B1433 #7B2153 #AB2E74 #CE4893 #DB79B0

Accessibility & contrast

On white

6.22
#AB2E74 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#AB2E74 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2E74
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2E74#FFFFFF#000000##FFFFFF
##AB2E741.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425376
Deuteranopia (green-blind)
#666971
Tritanopia (blue-blind)
#B8264D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab2e74;
/* rgb */ color: rgb(171, 46, 116);
/* oklch */ color: oklch(51.4% 0.174 350.6);
Tailwind
colors: {
  custom: {
    50: '#c8729c',
    500: '#ab2e74',
    950: '#000000',
  },
}
SCSS
$custom: #ab2e74;
$custom-light: #c8729c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2e74",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 116
  },
  "hsl": {
    "h": 326.4,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.5145,
    "c": 0.1739,
    "h": 350.6
  },
  "luminance": 0.11873
}

Semantic roles & 50–950 ramp

primary
#AB2E74
secondary
#72C396
accent
#E18B47
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AB2E74

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

Preview Lab → · Contrast checker → · Palette generator →

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