#AB2993#AB2993

#AB2993 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.4% C 0.198 H 336.8°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#AB2993
RGBrgb(171, 41, 147)
HSLhsl(311, 61%, 42%)
HSVhsv(311, 76%, 67%)
CMYKcmyk(0%, 76%, 14%, 32.9%)
CIE-LABlab(41.77, 61.91, -28.75)
CIE-LCHlch(41.77, 68.25, 335.09°)
OKLaboklab(52.43% 0.1822 -0.0783)
OKLCHoklch(52.43% 0.198 336.8)
XYZxyz(22.8544, 12.3525, 28.7787)
Luminance0.1235 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2993 #29AB41
analogous
#8229AB #AB2993 #AB2952
triadic
#AB2993 #93AB29 #2993AB
tetradic
#AB2993 #AB8229 #29AB41 #2952AB
square
#AB2993 #AB8229 #29AB41 #2952AB
split-complementary
#AB2993 #52AB29 #29AB82
monochromatic
#48113E #7A1D69 #AB2993 #D140B6 #DD71C9

Accessibility & contrast

On white

6.05
#AB2993 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#AB2993 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2993
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2993#FFFFFF#000000##FFFFFF
##AB29931.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5696
Deuteranopia (green-blind)
#5A6A90
Tritanopia (blue-blind)
#B4325C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab2993;
/* rgb */ color: rgb(171, 41, 147);
/* oklch */ color: oklch(52.4% 0.198 336.8);
Tailwind
colors: {
  custom: {
    50: '#c871b3',
    500: '#ab2993',
    950: '#000000',
  },
}
SCSS
$custom: #ab2993;
$custom-light: #c871b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2993",
  "rgb": {
    "r": 171,
    "g": 41,
    "b": 147
  },
  "hsl": {
    "h": 311.077,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52433,
    "c": 0.19835,
    "h": 336.8
  },
  "luminance": 0.1235
}

Semantic roles & 50–950 ramp

primary
#AB2993
secondary
#6CC47C
accent
#E46143
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AB2993

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

Preview Lab → · Contrast checker → · Palette generator →

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