#AB2B93#AB2B93

#AB2B93 is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.6% C 0.196 H 336.8°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#AB2B93
RGBrgb(171, 43, 147)
HSLhsl(311, 60%, 42%)
HSVhsv(311, 75%, 67%)
CMYKcmyk(0%, 74.9%, 14%, 32.9%)
CIE-LABlab(41.99, 61.28, -28.40)
CIE-LCHlch(41.99, 67.54, 335.13°)
OKLaboklab(52.59% 0.1804 -0.0773)
OKLCHoklch(52.59% 0.196 336.8)
XYZxyz(22.9253, 12.4944, 28.8024)
Luminance0.1249 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2B93 #2BAB43
analogous
#832BAB #AB2B93 #AB2B53
triadic
#AB2B93 #93AB2B #2B93AB
tetradic
#AB2B93 #AB832B #2BAB43 #2B53AB
square
#AB2B93 #AB832B #2BAB43 #2B53AB
split-complementary
#AB2B93 #53AB2B #2BAB83
monochromatic
#49123F #7A1F69 #AB2B93 #D043B5 #DC74C9

Accessibility & contrast

On white

6.00
#AB2B93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#AB2B93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2B93
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2B93#FFFFFF#000000##FFFFFF
##AB2B931.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5796
Deuteranopia (green-blind)
#5B6A90
Tritanopia (blue-blind)
#B4335C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab2b93;
/* rgb */ color: rgb(171, 43, 147);
/* oklch */ color: oklch(52.6% 0.196 336.8);
Tailwind
colors: {
  custom: {
    50: '#c872b3',
    500: '#ab2b93',
    950: '#000000',
  },
}
SCSS
$custom: #ab2b93;
$custom-light: #c872b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2b93",
  "rgb": {
    "r": 171,
    "g": 43,
    "b": 147
  },
  "hsl": {
    "h": 311.25,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52592,
    "c": 0.19623,
    "h": 336.8
  },
  "luminance": 0.12492
}

Semantic roles & 50–950 ramp

primary
#AB2B93
secondary
#6EC47E
accent
#E36245
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AB2B93

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

Preview Lab → · Contrast checker → · Palette generator →

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