#AB2C90#AB2C90

#AB2C90 is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.5% C 0.193 H 338.0°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#AB2C90
RGBrgb(171, 44, 144)
HSLhsl(313, 59%, 42%)
HSVhsv(313, 74%, 67%)
CMYKcmyk(0%, 74.3%, 15.8%, 32.9%)
CIE-LABlab(41.96, 60.52, -26.63)
CIE-LCHlch(41.96, 66.12, 336.25°)
OKLaboklab(52.52% 0.1791 -0.0723)
OKLCHoklch(52.52% 0.193 338)
XYZxyz(22.7298, 12.4751, 27.5910)
Luminance0.1247 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2C90 #2CAB47
analogous
#872CAB #AB2C90 #AB2C50
triadic
#AB2C90 #90AB2C #2C90AB
tetradic
#AB2C90 #AB872C #2CAB47 #2C50AB
square
#AB2C90 #AB872C #2CAB47 #2C50AB
split-complementary
#AB2C90 #50AB2C #2CAB87
monochromatic
#4A133E #7A1F67 #AB2C90 #CF45B2 #DC76C6

Accessibility & contrast

On white

6.01
#AB2C90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#AB2C90 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2C90
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2C90#FFFFFF#000000##FFFFFF
##AB2C901.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab2c90;
/* rgb */ color: rgb(171, 44, 144);
/* oklch */ color: oklch(52.5% 0.193 338.0);
Tailwind
colors: {
  custom: {
    50: '#c872b1',
    500: '#ab2c90',
    950: '#000000',
  },
}
SCSS
$custom: #ab2c90;
$custom-light: #c872b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2c90",
  "rgb": {
    "r": 171,
    "g": 44,
    "b": 144
  },
  "hsl": {
    "h": 312.756,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52524,
    "c": 0.19309,
    "h": 338
  },
  "luminance": 0.12473
}

Semantic roles & 50–950 ramp

primary
#AB2C90
secondary
#6FC381
accent
#E26746
background
#FCF7FA
surface
#F9EDF5
border
#D2C8CF
text
#140910
muted
#827B7F

Preview Lab

Preview with #AB2C90

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

Preview Lab → · Contrast checker → · Palette generator →

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