#AB2E75#AB2E75

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

Color values

HEX#AB2E75
RGBrgb(171, 46, 117)
HSLhsl(326, 58%, 43%)
HSVhsv(326, 73%, 67%)
CMYKcmyk(0%, 73.1%, 31.6%, 32.9%)
CIE-LABlab(41.05, 56.27, -11.43)
CIE-LCHlch(41.05, 57.42, 348.52°)
OKLaboklab(51.49% 0.1719 -0.0298)
OKLCHoklch(51.49% 0.174 350.2)
XYZxyz(20.9836, 11.8987, 18.0178)
Luminance0.1190 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2E75 #2EAB64
analogous
#A32EAB #AB2E75 #AB2E36
triadic
#AB2E75 #75AB2E #2E75AB
tetradic
#AB2E75 #ABA32E #2EAB64 #2E36AB
square
#AB2E75 #ABA32E #2EAB64 #2E36AB
split-complementary
#AB2E75 #36AB2E #2EABA3
monochromatic
#4B1433 #7B2154 #AB2E75 #CE4894 #DB79B0

Accessibility & contrast

On white

6.21
#AB2E75 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#AB2E75 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2E75
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2E75#FFFFFF#000000##FFFFFF
##AB2E751.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab2e75;
/* rgb */ color: rgb(171, 46, 117);
/* oklch */ color: oklch(51.5% 0.174 350.2);
Tailwind
colors: {
  custom: {
    50: '#c8729c',
    500: '#ab2e75',
    950: '#000000',
  },
}
SCSS
$custom: #ab2e75;
$custom-light: #c8729c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2e75",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 117
  },
  "hsl": {
    "h": 325.92,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.5149,
    "c": 0.17441,
    "h": 350.2
  },
  "luminance": 0.11896
}

Semantic roles & 50–950 ramp

primary
#AB2E75
secondary
#72C395
accent
#E18947
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AB2E75

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

Preview Lab → · Contrast checker → · Palette generator →

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