#AB2D90#AB2D90

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

Color values

HEX#AB2D90
RGBrgb(171, 45, 144)
HSLhsl(313, 58%, 42%)
HSVhsv(313, 74%, 67%)
CMYKcmyk(0%, 73.7%, 15.8%, 32.9%)
CIE-LABlab(42.08, 60.19, -26.45)
CIE-LCHlch(42.08, 65.74, 336.28°)
OKLaboklab(52.61% 0.1781 -0.0717)
OKLCHoklch(52.61% 0.192 338.1)
XYZxyz(22.7675, 12.5505, 27.6036)
Luminance0.1255 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2D90 #2DAB48
analogous
#872DAB #AB2D90 #AB2D51
triadic
#AB2D90 #90AB2D #2D90AB
tetradic
#AB2D90 #AB872D #2DAB48 #2D51AB
square
#AB2D90 #AB872D #2DAB48 #2D51AB
split-complementary
#AB2D90 #51AB2D #2DAB87
monochromatic
#4A143E #7B2067 #AB2D90 #CE47B1 #DB77C6

Accessibility & contrast

On white

5.98
#AB2D90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#AB2D90 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2D90
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2D90#FFFFFF#000000##FFFFFF
##AB2D901.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335793
Deuteranopia (green-blind)
#5D6A8D
Tritanopia (blue-blind)
#B5335B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab2d90;
/* rgb */ color: rgb(171, 45, 144);
/* oklch */ color: oklch(52.6% 0.192 338.1);
Tailwind
colors: {
  custom: {
    50: '#c872b1',
    500: '#ab2d90',
    950: '#000000',
  },
}
SCSS
$custom: #ab2d90;
$custom-light: #c872b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2d90",
  "rgb": {
    "r": 171,
    "g": 45,
    "b": 144
  },
  "hsl": {
    "h": 312.857,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52608,
    "c": 0.19198,
    "h": 338.1
  },
  "luminance": 0.12548
}

Semantic roles & 50–950 ramp

primary
#AB2D90
secondary
#71C382
accent
#E26846
background
#FCF7FA
surface
#F9EDF5
border
#D2C8CF
text
#140910
muted
#827B7F

Preview Lab

Preview with #AB2D90

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

Preview Lab → · Contrast checker → · Palette generator →

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