#AB2F92#AB2F92

#AB2F92 is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.9% C 0.191 H 337.3°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#AB2F92
RGBrgb(171, 47, 146)
HSLhsl(312, 57%, 43%)
HSVhsv(312, 73%, 67%)
CMYKcmyk(0%, 72.5%, 14.6%, 32.9%)
CIE-LABlab(42.41, 59.80, -27.14)
CIE-LCHlch(42.41, 65.67, 335.59°)
OKLaboklab(52.88% 0.1763 -0.0737)
OKLCHoklch(52.88% 0.191 337.3)
XYZxyz(22.9998, 12.7684, 28.4418)
Luminance0.1277 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2F92 #2FAB48
analogous
#862FAB #AB2F92 #AB2F54
triadic
#AB2F92 #92AB2F #2F92AB
tetradic
#AB2F92 #AB862F #2FAB48 #2F54AB
square
#AB2F92 #AB862F #2FAB48 #2F54AB
split-complementary
#AB2F92 #54AB2F #2FAB86
monochromatic
#4B1540 #7B2269 #AB2F92 #CD4AB3 #DA7AC7

Accessibility & contrast

On white

5.91
#AB2F92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#AB2F92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2F92
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2F92#FFFFFF#000000##FFFFFF
##AB2F921.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335895
Deuteranopia (green-blind)
#5D6B8F
Tritanopia (blue-blind)
#B4365D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab2f92;
/* rgb */ color: rgb(171, 47, 146);
/* oklch */ color: oklch(52.9% 0.191 337.3);
Tailwind
colors: {
  custom: {
    50: '#c873b2',
    500: '#ab2f92',
    950: '#000000',
  },
}
SCSS
$custom: #ab2f92;
$custom-light: #c873b2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2f92",
  "rgb": {
    "r": 171,
    "g": 47,
    "b": 146
  },
  "hsl": {
    "h": 312.097,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.5288,
    "c": 0.19108,
    "h": 337.3
  },
  "luminance": 0.12766
}

Semantic roles & 50–950 ramp

primary
#AB2F92
secondary
#73C383
accent
#E06648
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AB2F92

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

Preview Lab → · Contrast checker → · Palette generator →

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