#AB2F74#AB2F74

#AB2F74 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.5% C 0.173 H 350.8°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#AB2F74
RGBrgb(171, 47, 116)
HSLhsl(327, 57%, 43%)
HSVhsv(327, 73%, 67%)
CMYKcmyk(0%, 72.5%, 32.2%, 32.9%)
CIE-LABlab(41.14, 55.79, -10.68)
CIE-LCHlch(41.14, 56.81, 349.17°)
OKLaboklab(51.54% 0.1705 -0.0277)
OKLCHoklch(51.54% 0.173 350.8)
XYZxyz(20.9646, 11.9543, 17.7230)
Luminance0.1195 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2F74 #2FAB66
analogous
#A42FAB #AB2F74 #AB2F36
triadic
#AB2F74 #74AB2F #2F74AB
tetradic
#AB2F74 #ABA42F #2FAB66 #2F36AB
square
#AB2F74 #ABA42F #2FAB66 #2F36AB
split-complementary
#AB2F74 #36AB2F #2FABA4
monochromatic
#4B1533 #7B2253 #AB2F74 #CD4A93 #DA7AB0

Accessibility & contrast

On white

6.19
#AB2F74 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#AB2F74 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2F74
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2F74#FFFFFF#000000##FFFFFF
##AB2F741.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab2f74;
/* rgb */ color: rgb(171, 47, 116);
/* oklch */ color: oklch(51.5% 0.173 350.8);
Tailwind
colors: {
  custom: {
    50: '#c8729c',
    500: '#ab2f74',
    950: '#000000',
  },
}
SCSS
$custom: #ab2f74;
$custom-light: #c8729c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2f74",
  "rgb": {
    "r": 171,
    "g": 47,
    "b": 116
  },
  "hsl": {
    "h": 326.613,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51543,
    "c": 0.17272,
    "h": 350.8
  },
  "luminance": 0.11952
}

Semantic roles & 50–950 ramp

primary
#AB2F74
secondary
#73C396
accent
#E08B48
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AB2F74

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

Preview Lab → · Contrast checker → · Palette generator →

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